PostEvent()
Syntax
PostEvent(Event [, Window, Object [, Type [, Data]]])Description
Posts an event at the end of the internal event queue.
Parameters
Event The event to post. For a list of SpiderBasic events, see BindEvent(). When using custom event, the first value must be at least #PB_Event_FirstCustomValue, to not clash with internal events. Window (optional) The window number associated with the event. When using a custom event, it can be any integer number. This value can be retrieved with EventWindow(). Object (optional) The object number associated with the event. It can be for example a gadget or menu number. When using a custom event, it can be any integer number. This value can be retrieved with EventGadget(). Type (optional) The type associated with the event. When using custom event, the first value must be at least #PB_EventType_FirstCustomValue, to not clash with internal values. This value can be retrieved with EventType(). Data (optional) A data associated with the event. It is only valid when using a custom event and can be any integer number. This value can be retrieved with EventData().
Return value
None.
See Also
EventWindow(), EventGadget(), EventType(), EventData()
Supported OS
All