DProgressBar.SetColor

From GMod Wiki

Jump to: navigation, search
Function
Syntax DProgressBar:SetColor( Color )
Description:
Sets the color of the progress bar.
Returns: nil
In Object: DProgressBar
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DProgressBar.SetColor]DProgressBar.SetColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


You need this script Progressbar

Examples

DescriptionSets the progress bar's color to green.
Used onNewerClient.png
Code
 
myProgressBar = vgui.Create( "DProgressBar")
myProgressBar:SetColor(Color(0,255,0))
Output14799940317954_dprogressbargreen.png


Methods

NewerClient.png DProgressBar

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox