Garry's Mod Wiki

TextEntry:OnKeyCodeTyped

TextEntry:OnKeyCodeTyped

  boolean TextEntry:OnKeyCodeTyped( number keyCode )

Description

Called from engine whenever a valid character is typed while the text entry is focused.

Used internally for functionality of DTextEntry

Arguments

1 number keyCode
They key code of the key pressed, see Enums/KEY.

Returns

1 boolean
Whether you've handled the key press. Returning true prevents the default text entry behavior from occurring.

Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 9