DTextEntry.SetMultiline

From GMod Wiki

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



Examples

DescriptionCreates a multiline text entry.
Used onNewerClient.png
Code
// parent = pre-defined panel
TextEntry = vgui.Create("DTextEntry", parent)
TextEntry:SetSize(200, 200)
TextEntry:SetMultiline(true)
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox