DgsGetDxGUINoParent

From Multi Theft Auto: Wiki

This function gets the dgs dx guis which don't have parents.

Syntax

table dgsGetDxGUINoParent( )

Required Arguments

None

Returns

Returns a table if succeeded, false otherwise.

Example

DGS = exports.dgs

local rb1= DGS:dgsCreateRadioButton(500,500,200,30,"aaaa",false)
local rb2 = DGS:dgsCreateRadioButton(500,520,200,30,"bbbb",false)
local button = DGS:dgsCreateButton(500,500,200,80,"test",false)
outputChatBox("There are "..(#DGS:dgsGetDxGUINoParent()).." DGS Dx GUIs don't have parents")

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