DTextEntry.SetEditable

From GMod Wiki

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



Examples

DescriptionCreates a text entry that cannot be edited.
Used onNewerClient.png
Code
// parent = pre-defined panel
TE_Example = vgui.Create("DTextEntry", parent)
TE_Example:SetText("Hello Text Entry")
TE_Example:SetEditable(false);
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox