DSysButton.SetChar
From GMod Wiki
Function | |
Syntax | DSysButton:SetChar( String text ) |
Description: | |
Sets the text display. | |
Returns: | nil |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DSysButton.SetChar]DSysButton.SetChar [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the text display. |
---|---|
Used on | |
Code | myButton = vgui.Create("DSysButton", DermaPanel) myButton:SetChar( "2" ) |
Output |
Additional Notes
- SetChar( "0123456789abcdefghijklmnopqrstuvwxyz" )