DCheckBoxLabel.SetTextColor

From GMod Wiki

Jump to: navigation, search
Function
Syntax DCheckBoxLabel:SetTextColor( Color textColour )
Description:
Sets the colour of the text to appear in the DCheckBoxLabel.
Returns: nil
In Object: DCheckBoxLabel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DCheckBoxLabel.SetTextColor]DCheckBoxLabel.SetTextColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionSets the text colour of DCheckBoxLabel to red.
Used onNewerClient.png
Code
myLabel:SetTextColor( Color(255, 0, 0, 255) )
OutputMakes the text in the DCheckBoxLabel red


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox