OnDgsCursorTypeChange

From Multi Theft Auto: Wiki
Revision as of 13:46, 13 February 2021 by Thisdp (talk | contribs)
Jump to navigation Jump to search

This event is fired when the DGS cursor type changes.

Available cursor type are as follows:

    • arrow
    • sizing_ns
    • sizing_ew
    • sizing_nwse
    • sizing_nesw
    • text
    • move
    • pointer

Parameters

None

Source

The source of this event is the root element.

Example

DGS = exports.dgs

function onCursorTypeChange(oldType,newType)
	outputChatBox("Cursor: "..oldType.." -> "..newType)
end
addEventHandler("onDgsCursorTypeChange",getRootElement(),onCursorTypeChange)

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

Client event functions