OnDgsElementMove

From Multi Theft Auto: Wiki
Revision as of 14:43, 8 September 2019 by XLive (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is triggered each time the user moves a DGS element. ==Parameters== No parameters. ==Source== The [[event system#Event source|source]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered each time the user moves a DGS element.

Parameters

No parameters.

Source

The source of this event is the DGS element which was moved.

Example

This example would output to the chatbox what the player moved.

addEventHandler("onDgsElementMove",getRootElement (),function()
	outputChatBox("You have moved :"..getElementType(source))
end)

See Also

DGS events

General

Check Box

Combo Box

Drag'N Drop

Edit

Grid List

Menu

Selector

Mouse

Radio Button

Switch Button

Tab

Animation

Plugin

Media

Color Picker

QRCode

Remote Image