Garry's Mod Wiki

Revision Difference

DTextEntry:OnKeyCode#526881

<function name="OnKeyCode" parent="DTextEntry" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Called from DTextEntry's <page>TextEntry:OnKeyCodeTyped</page> override whenever a valid character is typed while the text entry is focused.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="keyCode" type="number">They key code of the key pressed, see <page>Enums/KEY</page>.</arg>⤶ </args>⤶ </function>⤶ ⤶