DSysButton.SetType
From GMod Wiki
| Function | |
| Syntax | DSysButton:SetType( String text ) |
| Description: | |
| Sets the text display. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DSysButton.SetType]DSysButton.SetType [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:SetType( "up" ) |
| Output |
Additional Notes
The types of buttons you can use are as follows:
up, down, left, right, updown, close, grip, tick, question, none.
Result: