LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I display a modal panel that I created (with th

e password control) and cause the calling event function to wait for a button press on the modal panel? When my routine calls InstallPopup, it continues immediately to the next line. Generic Message is no good because the password does not appear as stars.I need this for the following:
Start is pressed.
In this button's event the password panel is shown.
If the user types it correctly, the system starts.
If not, the event exits.
0 Kudos
Message 1 of 2
(2,518 Views)
e password control) and cause the calling event function to wait for a button press on the modal panel? When my routine calls InstallPopup, it continues immediately to the next line. Generic Message is no good because the password does not appear as stars.Try this:
InstallPopup
while(1){
if(GetUserEvent(...)==EVENT_COMMIT){
if password is correct
start the system
break;
}
}
RemovePopup
return
0 Kudos
Message 2 of 2
(2,518 Views)