Page 1 of 1
[Implemented] CreateEvent
Posted: Sun Aug 21, 2011 3:22 pm
by Polo
Implemented as PostEvent()
It'd be nice, now we have the canvas gadget, to be able to create events.

Re: CreateEvent
Posted: Sun Aug 21, 2011 3:59 pm
by STARGĂ…TE
create events ? what do you mean?
Code: Select all
Event = #PB_Event_CloseWindow ; Create Event ???
Select Event
Case #PB_Event_CloseWindow
End
EndSelect
Re: CreateEvent
Posted: Sun Aug 21, 2011 4:03 pm
by Polo
Well, yeah, create an event that will get into the event queue and received in Wait(Window)Event.
Re: CreateEvent
Posted: Sun Aug 21, 2011 7:41 pm
by c4s
Do you mean defining event areas?
At least that's what I would like to have (for the CanvasGadget()):
- Create event abc in: x1, y1, x2, y2 (and circles, polygons, ellipses?)
- Trigger it when: Mouse enters/moves and/or right/left/double click etc.
- Receive event abc in the event loop when the above condition is valid