DgsProgressBarSetStyleProperty

From Multi Theft Auto: Wiki

This function sets the style property of a progress bar.

Syntax

bool dgsProgressBarSetStyle ( element progressbar, string propertyName, mixed value )

Required Arguments

  • progressbar: A progress bar you want to set style property to.
  • propertyName: A string of the name of a property you want to set
  • value: A mixed type.

Example

Click to collapse [-]
Client
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)

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