Code: Select all
OpenWindow(0, 100, 100, 100, 100, "")
OpenWindow(1, 300, 100, 100, 100, "")
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_DeactivateWindow
Debug EventWindow()
EndIf
Until Event = #PB_Event_CloseWindow
Code: Select all
OpenWindow(0, 100, 100, 100, 100, "")
OpenWindow(1, 300, 100, 100, 100, "")
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_DeactivateWindow
Debug EventWindow()
EndIf
Until Event = #PB_Event_CloseWindow