DTextEntry.SetDrawBackground

From GMod Wiki

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



Examples

DescriptionCreates a text box on the screen, then removes the background of it.
Used onNewerClient.png
Code
 
DermaTextBG=vgui.Create("DTextEntry")																		
DermaTextBG:SetPos( 25,600 )
DermaTextBG:SetTall( 180 )
DermaTextBG:SetWide( 350 )
DermaTextBG:SetEnterAllowed( false )
DermaTextBG:SetMultiline(true)
DermaTextBG:SetDrawBackground(false)
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox