(SOLVED)Problem with Checkbox..Can you help me please???
Posted: Mon Jun 03, 2019 5:57 pm
I try to work with this code...but nothing works....i need to use it in a loop but i want to use only when the check box change the state....Can you help me please?? Lestroso

Code: Select all
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
Case CheckBox_0
If EventType() = #PB_EventType_Change
Select GetGadgetState(CheckBox_0)
Case 1
MessageRequester("CheckBox 0 is ","turned On...")
EndSelect
EndIf