OnDgsStopMoving: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client event}} __NOTOC__ This event is triggered when a dgs element stops the aninimation which was started by dgsMoveTo ==Parameters== <syntaxhighlight lang="lua"> e...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
*'''isFinished''': A bool indicates whether the animation has finished or been stopped by [[dgsStopMoving]]. | |||
==Source== | ==Source== | ||
Line 12: | Line 10: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
DGS = exports.dgs | DGS = exports.dgs |
Latest revision as of 16:43, 16 June 2021
This event is triggered when a dgs element stops the aninimation which was started by dgsMoveTo
Parameters
- isFinished: A bool indicates whether the animation has finished or been stopped by dgsStopMoving.
Source
The source of this event is the dgs element which stopped its animation.
Example
DGS = exports.dgs window = DGS:dgsCreateWindow(200,100,400,400,"DGS Parent Window",false) --Create a window DGS:dgsMoveTo(window,400,200,false,false,"OutQuad",2000) --Set Animation addEventHandler("onDgsStopMoving", window, function() outputChatBox("Window has stopped moving") end)
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