Garry's Mod Wiki

TextEntry

Description

Basic text input field. See DTextEntry for a more advanced version.

Parent

Derives methods, etc not listed on this page from Panel.

Events

boolean TextEntry:OnKeyCodeTyped( number keyCode )
Called from engine whenever a valid character is typed while the text entry is focused. Used internally for functionality of DTextEntry
TextEntry:OnTextChanged()
Called when the text inside the TextEntry changes. You may be looking for DTextEntry:OnValueChange instead.