OnDgsElementSize

From Multi Theft Auto: Wiki
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