DTextEntry.SetValue
From GMod Wiki
Function | |
Syntax |
DTextEntry:SetValue( String value ) Where is this used? |
Description: | |
Sets the value of the text field. | |
Returns: | nil |
Part of Library: | DTextEntry |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DTextEntry.SetValue]DTextEntry.SetValue [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the text displayed in the text field. |
---|---|
Used on | |
Code | local DermaText = vgui.Create( "DTextEntry" ) DermaText:SetValue( "This is the default text" ) |
Output | N/A |