05-14-2013 08:39 AM
bonjour,
je veux sortir ou arreter le programme par le x de la boite de dialogue a un ou plusieurs bouton(s) c.à.d quand la boite de dialogue s'affiche si jappuie sur x alors le programme s'arrete ou on en sort
comment je peut le faire?
voici en pièce jointe un simple exemples pour mon but
Solved! Go to Solution.
05-14-2013 10:38 AM
In English please?
When do you want to stop the program?
05-14-2013 05:11 PM
hello Nghtcrwlr
I want to stop or go out the program when i click on the x butom of any of dialog box(with one button or 2 or 3 button)
i mean that when i execute my program and the dialog box message apears on screan if i click on the x the program stop ,so i want if i clik on x to not allow to the second step to execute.
thanks
05-15-2013 03:50 AM
When the Yes button in the dialoge box is pressed ,you can wire the True value to a Boolean OR and the other input of the OR to the FOR LOOP Stop.
Seee attachemnet
05-15-2013 04:26 AM
hi
my purpose : when the x buttom of the dialog box message is pressed so the program dont cross to the second step of the sequence ,it stops the first step of the sequence and all of the sustem stopped.
in another meaning when i start my program it displays (are you sure) ---if i press yes so the loop in the second step of the sequence start
---if i press on the x button so i dont cross to the second step and the loop dont excute and my system stop,,,
TNX
05-15-2013 04:33 AM
here there are two buttons on the message box. If you press yes, the second event case is executed. if you press No, the program stops.
Hope this is what you wanted
05-15-2013 06:56 AM
hi
sorry,but i mean the x buttom see the attached piece
05-15-2013 07:46 AM
Have you tried my last example? Even if you press button X OR the window closing X, the program stops.
Actually what are you trying to to? can you be more specific in your final goal?
05-15-2013 08:25 AM