DTextEntry.SetValue

From GMod Wiki

Jump to: navigation, search
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: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DTextEntry.SetValue]DTextEntry.SetValue [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSets the text displayed in the text field.
Used onNewerClient.png
Code
 
local DermaText = vgui.Create( "DTextEntry" )
DermaText:SetValue( "This is the default text" )
 
OutputN/A

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox