
Surely this event type should be supported for checkboxes when their state changes? Using GetGadgetState() doesn't help because I just want to know if one of MANY checkboxes has been clicked (as well as a stringgadget being changed), without iterating through all my gadgets and checking their new state compared to their old state.
Code: Select all
If OpenWindow(0, 0, 0, 270, 100, "Changed", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CheckBoxGadget(0, 10, 10, 250, 20, "CheckBox standard")
StringGadget(1, 10, 40, 250, 20, "")
Repeat
ev=WaitWindowEvent()
If ev=#PB_Event_Gadget And EventType()=#PB_EventType_Change ; Doesn't work for CheckBoxes. :(
Debug "Either a CheckBox or StringGadget changed"
EndIf
Until ev= #PB_Event_CloseWindow
EndIf
