OnDgsGUIPreCreate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Thisdp moved page OnClientDgsDxGUIPreCreate to OnDgsGUIPreCreate) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Client event}} | {{Client event}} | ||
__NOTOC__ | __NOTOC__ | ||
This event is fired when the item of a dgs-dxgui element has been created but before finishing data calculating which is different from [[ | This event is fired when the item of a dgs-dxgui element has been created but before finishing data calculating which is different from [[onDgsCreate]]. | ||
==Parameters== | ==Parameters== | ||
Line 17: | Line 17: | ||
outputChatBox("A "..DGS:dgsGetType(source).." has been created") | outputChatBox("A "..DGS:dgsGetType(source).." has been created") | ||
end | end | ||
addEventHandler(" | addEventHandler("onDgsGUIPreCreate",getRootElement(),onCreated) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 13:40, 20 January 2018
This event is fired when the item of a dgs-dxgui element has been created but before finishing data calculating which is different from onDgsCreate.
Parameters
None
Source
The source of this event is the dgs-dxgui element that is created.
Example
This example outputs a message when a dgs-dxgui element created.
DGS = exports.dgs function onCreated() outputChatBox("A "..DGS:dgsGetType(source).." has been created") end addEventHandler("onDgsGUIPreCreate",getRootElement(),onCreated)
See Also
DGS events
General
- onDgsBlur
- onDgsCreate
- onDgsCursorTypeChange
- onDgsCursorStateChange
- onDgsDestroy
- onDgsElementRender
- onDgsElementMove
- onDgsElementSize
- onDgsElementEnter
- onDgsElementLeave
- onDgsFocus
- onDgsKey
- onDgsPositionChange
- onDgsPreRender
- onDgsRender
- onDgsElementScroll
- onDgsSizeChange
- onDgsTextChange
- onDgsWindowClose
- onDgsPropertyChange
Check Box
Combo Box
Drag'N Drop
Edit
Grid List
Menu
Selector
Mouse
- onDgsMousePreClick
- onDgsMouseClick
- onDgsMouseClickDown
- onDgsMouseClickUp
- onDgsMouseDrag
- onDgsMouseDoubleClick
- onDgsMouseDoubleClickDown
- onDgsMouseDoubleClickUp
- onDgsMouseDown
- onDgsMouseHover
- onDgsMouseEnter
- onDgsMouseLeave
- onDgsMouseMultiClick
- onDgsMouseMove
- onDgsMouseStay
- onDgsMouseUp
- onDgsMouseWheel
Radio Button
Switch Button
Tab
Animation
Plugin
Media
- onDgsMediaPlay
- onDgsMediaPause
- onDgsMediaStop
- onDgsMediaLoaded
- onDgsMediaTimeUpdate
- onDgsMediaBrowserReturn
Color Picker
QRCode
Remote Image
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled