DTextEntry
From GMod Wiki
Derma Control: DTextEntry | |
---|---|
Parent Class: | TextEntry |
Subclasses: | |
Description: | |
A control that allows the user to enter text. |
Examples
Additional Notes
- At least one of it's parents must be or derived from a "EditablePanel" (Example: a "DFrame"). Otherwise the text entry will not be focusable.
- The control or one of its parents must have keyboard focus enabled. This can be attained by default via clicking on the text box.
You can view the source code for this VGUI element here.
Methods
DTextEntry.AllowInput
DTextEntry.ApplySchemeSettings
DTextEntry.CheckNumeric
DTextEntry.ConVarChanged
DTextEntry.ConVarNumberThink
DTextEntry.ConVarStringThink
DTextEntry.CreateUnEditableLabel
DTextEntry.DrawTextEntryText
DTextEntry.GenerateExample
DTextEntry.GetCaretPos
DTextEntry.GetCursorColor
DTextEntry.GetDrawBackground
DTextEntry.GetDrawBorder
DTextEntry.GetEnterAllowed
DTextEntry.GetHighlightColor
DTextEntry.GetNumeric
DTextEntry.GetTextColor
DTextEntry.GetUpdateOnType
DTextEntry.GetValue
DTextEntry.Init
DTextEntry.OnEnter
DTextEntry.OnGetFocus
DTextEntry.OnKeyCodeTyped
DTextEntry.OnLoseFocus
DTextEntry.OnMousePressed
DTextEntry.OnTextChanged
DTextEntry.OnValueChange
DTextEntry.Paint
DTextEntry.PerformLayout
DTextEntry.RequestFocus
DTextEntry.SelectAll
DTextEntry.SelectAllOnFocus
DTextEntry.SetAllowNonAsciiCharacters
DTextEntry.SetCaretPos
DTextEntry.SetConVar
DTextEntry.SetCursorColor
DTextEntry.SetDrawBackground
DTextEntry.SetDrawBorder
DTextEntry.SetEditable
DTextEntry.SetEnterAllowed
DTextEntry.SetHighlightColor
DTextEntry.SetMultiline
DTextEntry.SetNumeric
DTextEntry.SetTall
DTextEntry.SetTextColor
DTextEntry.SetUpdateOnType
DTextEntry.SetValue
DTextEntry.SetWide
DTextEntry.Think
DTextEntry.UpdateConvarValue