OnDgsElementSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 14:45, 8 September 2019

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