Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 73ms

DB GetPage 44
Generate Html 4
SaveChanges (1) 10
Render Body 0
Render Sidebar 11