LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to find a way snap the cursor into the input box for the prompt user for input express vi also need to hot key OK so that input is taken when [enter] is pressed



Message Edited by yak on 06-24-2008 04:39 PM

Message Edited by yak on 06-24-2008 04:40 PM
0 Kudos
Message 1 of 4
(2,660 Views)
Hi yak,
you can write your own user input. To see how to do it, right click on your express vi and select -> "Open Front Panel", now you can open the code. Add your functionality and save it with a new name.

Hope it helps.
Mike
0 Kudos
Message 2 of 4
(2,639 Views)
MikeS81 ,
 
I had already tried that and can see the user prompt VI to be modified, but don't know exacty how to get the cursor directed into the input text box.  Is there anyway to get into the guts of read file utility?  In that case, when a file is to be selected, the cursor is directed into the input window so the user does not have to click into it as I want to do with the modified user prompt. 
 
Thanks
0 Kudos
Message 3 of 4
(2,615 Views)
In the future, please keep the title to a very brief indication of the question (like "snap cursor to field in input box"). Making the title the entire message is quite annoying.

To your last post: When you have a text entry box for the Prompt User Express VI the text entry box is automatically given focus. If you want the dialog box to accept pressing the Enter key on the keyboard then you have to do as Mike said and save the Express VI as your own VI, and then change the properties for the button. Specifically, you want to set the "toggling" in the Key Navigation tab. Check the LabVIEW Help for more. Note that the Express VI actually has 3 buttons, and their visibility is controlled based on the Express VI setup.

@yak wrote:

Is there anyway to get into the guts of read file utility?

What read file utility?

0 Kudos
Message 4 of 4
(2,604 Views)