LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set boolean Button as defult

Hi all :
 
Attached please find , when you run the vi don't used mouse click , press enter from keyboard to exsit .. as you see the defult button is "stop Test" .. who i can change  when i press enter the defult button will be "Repeat Test"
 
set Repeat Test button as defult
 
thanks
0 Kudos
Message 1 of 12
(3,773 Views)
Use a Key Focus property node.

right-click on Repeat >> Create >> Property Node >> Key Focus >> click on the property >> Change to Write >> wire a True constant

Message 2 of 12
(3,771 Views)
thanks a lot
0 Kudos
Message 3 of 12
(3,767 Views)
Hi :
 
Attach see file , when i press on enter key from keyborad , the defult key is cancel ,, what i need to set ok button as defult
 
 
how can i do that
 
thanks
Download All
0 Kudos
Message 4 of 12
(3,700 Views)
Did you try kb's suggestion?
Message 5 of 12
(3,696 Views)
what , how can i do that
0 Kudos
Message 6 of 12
(3,688 Views)
muks did you mean jb's suggestion?Smiley Very Happy
0 Kudos
Message 7 of 12
(3,676 Views)

I didn't look at your original code.  But if you have a button called "repeat", then simply follow jb's instructions.  On the block diagram, find the terminal called repeat and right-click on it.  Then follow the rest of the instructions.

R

Message 8 of 12
(3,663 Views)
Hi : 
attach see file ,, how can i when i press on enter from key borad , the application stop , vi wxit from loop and stop , i don;t want to use mouse click
 
thanks
 
0 Kudos
Message 9 of 12
(3,620 Views)
Hi elyan,
you can use the key down event. See the attached example.
Mike
Message 10 of 12
(3,618 Views)