OnDgsElementSize

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

This event is triggered when the local client resizes a DGS element.

Parameters

No parameters.

Source

The source of this event is the DGS element that was resized.

Example

This example will output the type of DGS element that the client has resized, to the chatbox.

addEventHandler("onDgsElementSize",getRootElement (),function()
	outputChatBox("You have resized a "..getElementType(source)..".",255,255,0)
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