DTextEntry.SetMultiline
From GMod Wiki
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DTextEntry.SetMultiline]DTextEntry.SetMultiline [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Creates a multiline text entry. |
|---|---|
| Used on | |
| Code | // parent = pre-defined panel TextEntry = vgui.Create("DTextEntry", parent) TextEntry:SetSize(200, 200) TextEntry:SetMultiline(true) |
| Output | N/A |