05-27-2013 03:08 AM
I tried with two button dialog, but parameters true and false are type of string, but I need to wire on prompt the ok button with the stop terminal, so there is type mismatch. It doesn't wotk with panel close? too. A prompt should appeat on the screen, but nothing happens. I also tried with Prompt user function, but I am not sure how to use it properly.
05-27-2013 03:35 AM - edited 05-27-2013 03:36 AM
The output of the two button dialog is a boolean: TRUE if the left button (e.g. OK) has been pressed and FALSE if the right button (e.g. cancel) has been pressed.
Seems to be perfectly suitable for your purpose! 😄
(The input string determine what text should be displayed on the dialog and on the buttons.)
Please show us your code!
05-27-2013 03:55 AM
Oh yes...there is an error "connected to an undirected tunnel" when I try to wire the output of two button dialog. And, I am not sure what type ok an cancel should be: control,constant or indicator? I wouldn't say control, because it would be placed on a front panel, and I don't want this to happen. I need to make a classic "Are you sure you want to quit" prompt.