Is there a way to force the cursor into a string control when a vi is called

In a .vi I'm wrighting I need to input a new serail number at the beginning of each run. Is there a way to force the cursor into the string control box every time the start screen returns? eliminating the need for the operator to move the mouse around and click.
I would like to THANK all that have replied to my questions in the past. It has been a big help!
Thanks
TeBlues

ah, problem solved.  what a community.
Message Edited by Space_Flight on 11-20-2006 10:08 AM
Attachments:
keyfocus.jpg ‏83 KB

Similar Messages

  • Is there a way to put the cursor at a specific location in a RichTextBox?

    Is there a way to put the cursor at a specific location in a RichTextBox?
    The following code places the cursor at the start of a RichTextBox:
        RichTextBox RTbx
        RTbx.Focus();
        TextPointer tp = RTbx.CaretPosition;
        tp = tp.DocumentStart;
        RTbx.CaretPosition = tp;
    Not sure how to place it at a specific location other than start and end.
    The RichTextBox has contents.  At this point in the code, I do know the specific "word" in the contents, as well as the position (number of chars) where that word is located.  I just need to programmatically place the cursor at that location.
    bhs67

    Oh sorry, I see I missed something out my original reply.
    I have markup:
    <Grid>
    <RichTextBox Name="rtb">
    <FlowDocument>
    <Paragraph >This is the first paragraph</Paragraph>
    <Paragraph >TSecond paragraph is here</Paragraph>
    </FlowDocument>
    </RichTextBox>
    </Grid>
    Code - this is the window contentrendered event
    private void Window_ContentRendered(object sender, EventArgs e)
    rtb.Focus();
    // TextPointer moveTo = rtb.CaretPosition.GetNextInsertionPosition(LogicalDirection.Forward);
    TextPointer moveTo = rtb.CaretPosition.GetPositionAtOffset(9, LogicalDirection.Forward);
    if (moveTo != null)
    rtb.CaretPosition = moveTo;
    I see the cursor between the t and he of the second "the".
    Note that there are numerous other options such as the commented out line.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Is there a way to force the Tag Engine to dump its input buffer to the database?

    I have an application where I start a process and log the data, and then call a subVI that uses the Read Historical Trend VIs to get all of the data from when the process started until now. The problem is that the Historical Trend VIs only read from the database on disk, and the Tag Engine's buffer doesn't write to disk until it's full (or possibly times out; I'm not sure about that, though). Is there a way to force the Tag Engine to write to disk, so that the Historical Trend VIs will return the most recent data?
    Shrinking the buffer will help a little, but that will only result in missing less of the most recent data. One possible hack is to have a dummy tag that I simply write enou
    gh data to that will cause the buffer to be written to the database. I was hoping for something more elegant, though.

    That's a good question.
    The control about the datalogging and the DSC Engine is all done (more or less) automatically - you feel the NI ease-of-use idea
    That means the Citadel service (one of the NI Services installed by LabVIEW DSC) is responsible of taking care about the datahandling (writing to and reading from the database files including caching some data e.g. index files, frequently used data...).
    The DSC Engine makes a request to the Citadel service that this data has to be logged. Everything else is handled by the Citadel service. Internally, there are two kinds of logging periods handled through the Citadel service. One for traces being viewed (a small period: 200ms) and one for traces not being viewed (slow (big) log period: 20000ms). That
    means, if Citadel gets a request to store a value it will buffer it and store it as soon as possible depending on other circumstances. One depends on the fact if this trace data is being viewed (e.g. with Read Histroical Trend.vi) If you request/read to view a trace you should pretty much see the current values because citadel should use the fast log period.
    The Citadel service takes care as well about setting priorities e.g. the writes before the reads (We don't want to loose data - right?). That means if you really stuff the system by writing a lot of data the CPU might get overloaded and the reads will happen less often.
    If you really want to see "real-time" data I would recommend to use the "Trend Tags.vi". With this approach you avoid the chain DSCEngine-Output Buffer-CitadelService-InputBuffer-File-HD... and back.
    I hope this info helps.
    Roland
    PS: I've attached a simple VI that has a tip (workaround) in it which might do what you are looking for... However, Nationa
    l Instruments cannot support this offically because the VI being used are internally DSC VIs that certainly change in the next version of LV DSC... and therefore you would need to "re-factor" your application.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • Is there a way to force the revalidation of last visited page on start of Firefox whithout no-store directive?

    When I set Firefox to start from last visited page and this page contains response headers Cache-Control:mast-revalidate and Expires:0 (not in meta tag) the page doesn't revalidated on the start of Firefox.
    Is there a way to force the revalidation in such situation but using the cache as usual. I mean - I can't use no-store directive in Firefox (can in Opera and Chrome) since it prevents usage of cache at all (and Last Modified mechanism in particular) ?

    Thanks try67, but it isn't a required field.  As I mentioned, only about 20% of submissions will require filling it in. 
    There isn't a submit button.  Not even sure what I would do with/or how I would implement a submit button.  After processing the form, the filled out form is 'Saved As' to keep the original forms integrity intact.  The 'Saved As' file  is renamed appropriately, and then it is printed to a PDF file and attached to the appropriate customer file.

  • Is there a way to force the proxy.pac RELOAD before sending a UIWebView request?

    I'm working with a dynamic .pac remote file.
    When i start my app, i get the proxy automatic configuration only the first time...
    Is there a way to force the PAC reload every time I use a UIWebView ?

    sure, create a listener that waits for the complete event, then play the video.

  • Is there a way to change the cursor hotspot systemwide on Mountain Lion?

    Hello community.
    Is there a way to change the cursor hotspot on Mountain Lion, systemwide?
    Like editing the original cursor file (or downloading one) and replacing the original one?
    Reason: when I enlarge the arrow, the "absoulute" tip (top of the white outline) gets distant from the internal tip (top of the black core), so sometimes the white outline needs to stick out if I want to click the approprate area - because the hotspot is on the internal tip. To me it's counter-intuitive. I would prefer to have the hotspot on the absolute edge of the cursor (tip of the white outline). This is not debatable - this is my private preference, and I've read today that it's not only mine - there is a number of users who want the same.
    I know it's always been like this on Macs, so please avoid questions like "why to you want that", answers like "get used to it" or any kind of hostility, for these are useless. The quiestion is how can I change it, if possible.
    Thanx guys!

    I don't know how you get to the System folder in Mavericks; and even if I found the folder with the alternative cursors in it, I would have no way of switching to any of them.  The designers have obviously not anticipated that anyone would wish to do this.
    The System Preferences has an adjustment under Accessibilty which allows the user to change the size of the cursor, but nothing else.
    So I guess that there is no way to make the change without actually re-engineering the System somehow.
    If someone can find a way, I will be most pleased to be enlightened; only please make the directions explicit.

  • Is there any way to make the cursor appear larger in Mac OS X?

    Wow, love my 27" screen, but have trouble finding the cursor! Is there any way to make the cursor appear larger? Perhaps adjustable for fine print capture?
    Thanks!

    System Preferences -> Universal Access -> Mouse -> Cursor size
    However, I prefer using Mouse Locator (free download)
    <http://www.versiontracker.com/dyn/moreinfo/macosx/26157>
    I like this Mouse Locator Graphic
    <http://homepage.mac.com/douglasn/locatorexchange/AD/1/MouseLocator.png>
    I also enjoy my 27" iMac. It is just so nice withing on it.
    Message was edited by: BobHarris

  • Is there any way to force the applet to load the file without using cache?

    Hi,
    I have the applet that renders some data from a file specified as the parameter. The problem is that the user can do something, that changes the input file and reloads the page, but the applet renders old data (from browser cache most probably)
    Is there any way to force the applet to load the file without using cache?
    Regards,
    Zdenek

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously?

    Hi Apple community,
    This is my first go at this so be kind,
    My question concerns launchpad. Coming from Snow Leopard I had been using spaces. I like to keep certain bundles of programs on separate desktops, for example all word processing related tasks in one place. I have set up the equivalent on Yosemite.
    My problem is concerns the loss of exposé. Now I know when you swipe into launch pad you get a very similar effect but the issue I am having concerns the "zoom out" effect when you swipe into launchpad. With exposé all open apps/pages etc would be fully exposed - in my case several (sometimes as many as 9 word documents). What I am running into is when I do this in / into launch pad the "pile" of docs is exposed but they are still overlapping so I can't get a good look at which is which and visually identify where I want to navigate to.
    My question is this; Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously? If so, instructions on how to do so would be greatly appreciated. Any alternative suggestions to doing this outside of launchpad are also welcome. If there is an exposé app for example, I would be quite willing to go that route.
    My main concern is being able to quickly (ie a touchpad gesture) expand all the open pages so I can bounce between them.
    Much thanks from a loyal Apple friend.

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Is there a way to force the charset to utf-8 with the IIS plug-in?

    We're using AJAX. The initial request for the HTML has charset=utf-8 set on the HTTP header as seen in this Live HTTP Headers capture:
    http://plper.mysite.com/mysupport/index.jsf
    GET /mysupport/index.jsf HTTP/1.1
    Host: plper.mysite.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=FN3WLTNJFJCfYhHHVrwKvLHF2gGdnnTb11DrCyZqR9YbGhcG28lK!-1728721171; mysession=AAAAAgABAFBy5LRMDmjSRCN%2FByvfquVwFeKCpmES4x9lReRava35fxKfwcbJimb3YyPhEd0vBq7ZxgJVecL475TFZwQuSphLOwRWAQw2t7PEW%2BrxsfxgnQ%3D%3D
    HTTP/1.x 200 OK
    Date: Tue, 10 Jun 2008 18:53:01 GMT
    Server: Microsoft-IIS/6.0
    Cache-Control: no-store,no-cache,must-revalidate, no-cache="set-cookie"
    Pragma: No-cache
    Transfer-Encoding: chunked
    Content-Type: text/html;charset=UTF-8
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; path=/
    Content-Language: en-US
    X-Powered-By: Servlet/2.5 JSP/2.1
    Subsequent requests do not:
    http://plper.mysite.com/mysupport/index.jsf
    POST /mysupport/index.jsf HTTP/1.1
    Host: plper.mysite.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
    Accept: application/x-backbase+xml,application/xhtml+xml,application/xml,text/xml,application/x-www-form-urlencoded,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Content-Type: application/x-www-form-urlencoded
    Referer: http://plper.mysite.com/mysupport/index.jsf
    Content-Length: 122
    Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; mysession=AAAAAgABAFBRtE5lAyr85YM0aIap%2Bekf1Qu8FoA6BNh4JVl1JgvDNDQgYrQm5m9W%2FQa4HLK767CtXV5c%2FhtXchbug9%2BE1zoCmqSBqqYmqXE9VG1lXi%2F%2Brg%3D%3D
    Pragma: no-cache
    Cache-Control: no-cache
    BackbaseClientDelta=%5Bevt%3DsrQuery%3AsiteList%7Cevent%7Csubmit%5D%5Bvalue%3DsrQuery%3AsiteList%7Cmultivalue%7C3971957%5D
    HTTP/1.x 200 OK
    Date: Tue, 10 Jun 2008 18:58:17 GMT
    Server: Microsoft-IIS/6.0
    Content-Length: 1720
    Content-Type: text/xml
    X-Powered-By: Servlet/2.5 JSP/2.1
    Is there a way to force requests going through the proxy plug-in to get a charset=utf-8 set in the HTTP header for all requests?
    Thanks!
    Edited by f2racer at 06/10/2008 12:01 PM

    If for some reason you have failed to maintain a backup copy of your computer ( not good), then transfer purchases form your ipod.
    Without syncing, click File>Transfer Purchases

  • Is there a way to force the tab order to skip a page and then return to that page on a form?

    I have a multi-page form with a required page layout.  The problem with the current form layout, is that I'm finding my users are getting to page "20" and it seems like the natural end of the form...and stop entering information and submit.  The problem is, there's an additional form field on the next page that MIGHT need important information.
    The information in that final field is only present in about 10% of submissions, but is crucial to the file if present.  As I said, the page layout is required.
    Is there a way to change the tab order to go from the last form field on page "19" to the form field on page "21" and then back to the form fields on page "20"?

    Thanks try67, but it isn't a required field.  As I mentioned, only about 20% of submissions will require filling it in. 
    There isn't a submit button.  Not even sure what I would do with/or how I would implement a submit button.  After processing the form, the filled out form is 'Saved As' to keep the original forms integrity intact.  The 'Saved As' file  is renamed appropriately, and then it is printed to a PDF file and attached to the appropriate customer file.

  • Is there a way to force "desktop view" on my iPad 1 when using Safari?

    Google, in their control frenzy, has now changed iGoogle to default to Tablet view on iPads. Why??? Here is one solution but it does not use Safari:
    Question:
    Is there a secret to getting the old igoogle homepage back, or is it gone for good on the iPad 2?  I still have the homepage on my Mac, so the problem is just with the iPad.  Any help anybody can give to get the home page back would be greatly appreciated.
    Answer:This issue is with the Tablet view. You can switch to Classic view at the bottom, but as soon as you type anything in the url bar you get reverted to Tablet. I have the Atomic Browser installed on my iPad and have set it to identify itself as a desktop. iGoogle loads fine on that. I am not aware of any such setting for Safari on the iPad.
    Google fails to understand that we do not need sub featured pages for our tablets. Tablets work fine with the desktop versions. They have probably concluded that iGoogle pages are too busy for tablets and so have disabled it. Tablet search has been significantly degraded by Goggle with elimination of the pinch and zoom and cached features. It should be possible to make a sticky setting change to Classic view on tablets. Most other settings stick, but not the Classic view. I dont think Google get it anymore.
    Is there a way to force Safari ,on an iPad, to do this?

    The website may alter its page display based on the browser ID that is transmitted to the site from your browser. Some browsers on the iPad like iCab allow you change the browser ID to something desktop-oriented. Safari does not provide this capability.

  • Is there a way to have the Filters in Analysis be ignored when rpt is run?

    When i'm creating/testing a new report in the Analysis in OBIEE (11g ver), i'm generating some charts and graphs in a potential report which sift through large amounts of data. But when i'm creating/editting, i just want to filter on something specific so when i return to the analysis, its quick. However, when i launch the report in the dashboard, i dont want that filter being applied -- i want the prompts i've set to do all the filtering. And as i return to the analysis mode, my filter would be there still and applied so i don't have to wait long for it to render. Is there a way to have the Filters in the analysis be ignored when the report is run in the Dashboard or run outside of being in the analysis mode?

    As far as I have experience working with OBIEE. Any filters you create in reports inline are overwritten by filters in the dashboard prompt, if they created with the same columns and presentation tables. To stop this behavior, there is an option to mark your inline report filter as Protected, so it won't be overwritten. You should try though.

  • Is there any way to convert the ImportObject into an image file ?

    I have converted a FM document into MIF file format. FM has a grapic imported by copying into the document. In the MIF file I can see the image like the following,
    <ImportObject
      <Unique 1001019>
      <Pen 15>
      <Fill 7>
      <PenWidth  1.0 pt>
    =TIFF
    &%v
    &II*\x00080000001000FE000400010000000000000000010300010000006009000001010300010000…..
    Is there any way to convert the ImportObject inside the mif file into an image file ?

    Error 7103,
    Regarding Note A and Note B... The Downsample dropdowns list three variations of Downsampling TO, each corresponding to a different downsampling method. When you select one of the Downsampling TO options, then the pixels per inch box allow you to specify the dpi of the downsampled image, the one after the downsampling.
    When you select Off, which means do NOT downsample, then the pixels per inch box is meaningless. Maybe it would be a nice interface feature to disable it, but that is another issue. In any event, OFF ignores any value in pixels per inch.
    Whenever you import an image into your publishing program (FrameMaker, InDesign, or whatever) and scale it, one can think of the scaled image as having a physical dpi, the number of pixels per physical inch on the "paper." When you specify downsampling in Distiller, the number you specify is most likely less than the physical dpi of the image in the document. It is probably meaningless to specify a number that is larger. I am guessing (and this is a guess) that Distiller does not UPsample images. I have never tested it.
    I use 1200 for image recovery.
    I assume you are talking about recoverying an image embedded in (copied into) the publishing document. I believe it is sufficient simply to turn downsampling off to create a PDF with the image at the resolution as embedded in the document.
    No, one of the settings is to Determine Automatically, which uses the resolution of the image IN the PDF.
    Where is that found?
    It is NOT in Distiller. It is in Acrobat Professional. (It may or may not be in Acrobat Standard or Acrobat Reader; I do not have them, so do not know.)
    The original poster wanted to recover an image copied into a Frame document file. My method is to create a PDF using a Distiller joboption with ALL downsampling and ALL compression OFF. Presumably the image is put into the PDF with all the pixels it has in the Frame file.
    THEN in Acrobat PROFESSIONAL, export the image with the setting Determine Automatically. I am presuming (never tested it) this exports ALL the pixels that the image has in the PDF file.
    Van

  • Is there a way to hide the cursor or change the cursor to a hand?

    Hi,
    I think the title is self explanatory. The reason I want to do it is because I'm developing a touchscreen interface and I reckon it would look better if I had a hand instead of a cursor or if I got rid of the cursor completely.
    Cheers,
    elmicko

    Yeah theres a way.
    Use method
    setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    ciao

Maybe you are looking for