DTextEntry.SetDrawBorder

From GMod Wiki

Jump to: navigation, search
Function
Syntax DTextEntry:SetDrawBorder( Boolean visible )
Where is this used?
Description:
Sets whether or not the border around 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.SetDrawBorder]DTextEntry.SetDrawBorder [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionCreates a text entry on the Frame, 'DermaPanel' and then removes the text entry's default black border.
Used onNewerClient.png
Code
DermaText=vgui.Create("DTextEntry",DermaPanel) 																														
	DermaText:SetPos( 5,5 )
	DermaText:SetTall( 180 )
	DermaText:SetWide( 490 )
	DermaText:SetEnterAllowed( false )
	DermaText:SetMultiline(true)
	DermaText:SetDrawBorder(false)
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox