Panel.Clear

From GMod Wiki

(Redirected from DComboBox.Clear)
Jump to: navigation, search
Function
Syntax Panel:Clear( Boolean bRemove )
Description:
Clears all content within specified panel(, and removes the actual content when specified and available.)
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.Clear]Panel.Clear [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionThis will clear all options within your DPanelList.
Used onNewerClient.png
Code
DPanelList:Clear(true)
OutputClears all content from the panel.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox