TEvent: | Fields | Methods | Functions |
id | Event identifier |
source | Event source object |
data | Event specific data |
mods | Event specific modifiers |
x | Event specific position data |
y | Event specific position data |
extra | Event specific extra information |
Emit | Emit this event |
ToString | Convert event to a string |
Create | Create an event object |
AllocUserId | Allocate a user event id |
Field id | |
Description | Event identifier |
Field source:Object | |
Description | Event source object |
Field data | |
Description | Event specific data |
Field mods | |
Description | Event specific modifiers |
Field x | |
Description | Event specific position data |
Field y | |
Description | Event specific position data |
Field extra:Object | |
Description | Event specific extra information |
Method Emit() | |
Description | Emit this event |
Information | This method runs all EmitEventHook hook function, passing Self as the hook data. |
Method ToString$() | |
Description | Convert event to a string |
Information | This method is mainly useful for debugging purposes. |
Function Create:TEvent( id,source:Object=Null,data=0,mods=0,x=0,y=0,extra:Object=Null ) | |
Returns | A new event object |
Description | Create an event object |
Function AllocUserId() | |
Returns | A new user event id |
Description | Allocate a user event id |