Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Events/PureBasic/events.basic
Normal file
12
Task/Events/PureBasic/events.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
OpenWindow (0, 10, 10, 150, 40, "Event Demo")
|
||||
ButtonGadget (1, 10, 10, 35, 20, "Quit")
|
||||
|
||||
Repeat
|
||||
|
||||
Event = WaitWindowEvent()
|
||||
|
||||
If Event = #PB_Event_Gadget And EventGadget() = 1
|
||||
End
|
||||
EndIf
|
||||
|
||||
ForEver
|
||||
Loading…
Add table
Add a link
Reference in a new issue