DgsCmdGetEdit

From Multi Theft Auto: Wiki

This function is used to get the text of cmd elements

Syntax

string dgsCmdGetEdit (element cmd)

Required Arguments

  • Cmd: The cmd you want to get from.

Example

DGS = exports.dgs
cmd = DGS:dgsCreateCmd(310, 208, 505, 429,false)

addCommandHandler("test",function (_)
	local edit  = DGS:dgsCmdGetEdit(cmd)
	DGS:dgsSetText(edit,"netstatus")
end)

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Arrow List

Browser

Button

Check Box

Combo Box

Edit

Ellipse Detect Area

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Media Browser

Rounded Rectangle

Color Picker

Blur Box

Effect 3D