PANEL/OnKeyCodePressed

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 2: Line 2:
 
|Description=Called whenever a keyboard key was pressed while the panel is focused.
 
|Description=Called whenever a keyboard key was pressed while the panel is focused.
  
Only seems to work on {{Panel|DFrame}}
+
Only seems to work on {{DFrame}}
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No

Revision as of 20:27, 19 July 2015

 PANEL:OnKeyCodePressed( )

Description

Called whenever a keyboard key was pressed while the panel is focused.

Only seems to work on Template:DFrame

Arguments

number keyCode

They key code of the key pressed, see KEY_ Enums.
Personal tools
Navigation