Here's my problem: I need that only if a checkbox and a radio button are selected, a button can close the program.
Here's my incorrect code:
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE MsgBox (0, "TEST", "Message Text.") Case $STUPIDBUTTON If $Radio1 = 1 Then MsgBox(0, "ERRORE", "abc...") ElseIf $Checkbox1 = 1 Then MsgBox (0, "TEST", "TEST COMPLETED.") Then Exit EndIf EndSwitch WEnd
Edited by ned98, 20 April 2010 - 05:04 PM.




