DListView.SetDrawBackground

From GMod Wiki

Jump to: navigation, search
Function
Syntax DListView:SetDrawBackground( Boolean visible )
Where is this used?
Description:
Sets whether or not the background of the list box is shown.
Returns: nil
Part of Library: DListView
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DListView.SetDrawBackground]DListView.SetDrawBackground [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionEnables or disables the background of a DListView
Used onNewerClient.png
Code
 
local DListView= vgui.Create("DListView")
DListView:SetTall( 100 )
DListView:SetWide( 200 )
DListView:SetMultiSelect(false)
DListView:SetDrawBackground(false)
DListView:AddColumn("Items")
DListView:AddColumn("Amount")
OutputN/A


See also

DListView.SetMultiSelect

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox