DgsProgressBarGetStyleProperty

From Multi Theft Auto: Wiki

This function returna property name from a progress bar.

Syntax

mixed dgsProgressBarGetStyle( element progressbar, string propertyName)

Required Arguments

  • progressbar: A progress bar you want to get style from
  • propertyName: Name of a property you want to get

Returns

Returns a the value of the style property of the progress bar if successfully, false otherwise.

Click to collapse [-]
Client

Example

DGS = exports.dgs

local pbRound = DGS:dgsCreateProgressBar(500,200,600,600,false)
DGS:dgsProgressBarSetProgress(pbRound, 50)
DGS:dgsProgressBarSetStyle(pbRound,"ring-round")
DGS:dgsProgressBarSetStyleProperty(pbRound,"rotation",90)
outputChatBox(DGS:dgsProgressBarGetStyleProperty(pbRound, "rotation")) -- return `90`

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

Paste Handler

QRCode

Remote Image

Rounded Rectangle