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

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Selector

Switch Button

Tab Panel

Window

Plugin

Blur Box

Color Picker

Canvas

Effect 3D

Media Browser

Mask

Nine Slice

Object Preview Supports

QRCode

Remote Image

Rounded Rectangle