LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressing escape exits two button dialog

Solved!
Go to solution

Hello,

I have a Two Button Dialog that I am using to ask for the type of test being done.  I would like to disable the ability to skip the dialog pop-up if the user is holding the escape key.  Is there a way to do this?

 

Thank you,

0 Kudos
Message 1 of 3
(2,719 Views)
Solution
Accepted by M. Bobby

 


M. Bobby wrote:

I have a Two Button Dialog that I am using to ask for the type of test being done.  I would like to disable the ability to skip the dialog pop-up if the user is holding the escape key.  Is there a way to do this?


 

It seems you want to remove the >esc> key navigation assignment from the dialog box.

 

Simply create your own dialog box (a simple subVI with a few buttons) and assign the key navigation the way you want it

 

(Right-click...advanced..key navigation).

 

(e.g. don't assign the escape key to the cancel button)

 

 

0 Kudos
Message 2 of 3
(2,708 Views)

You can get started with the template "Dialog using events".

0 Kudos
Message 3 of 3
(2,702 Views)