Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Event   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Event
  • All Members
  • Variables
  • alt
  • button
  • capsLock
  • character
  • clickCount
  • command
  • commandName
  • control
  • delta
  • functionKey
  • isKey
  • isMouse
  • keyCode
  • modifiers
  • mousePosition
  • numeric
  • shift
  • type
  • Functions
  • GetTypeForControl
  • Use
  • Class Variables
  • current
  • Class Functions
  • KeyboardEvent

Event.GetTypeForControl  

function GetTypeForControl (controlID : int) : EventType

Parameters

NameDescription
controlID the ID of the control you are querying from. Get it from GUIUtilty.GetControlID () See Also: EventType for the list of possible values.

Description

Get a filtered event type for a give control ID.

This function is used to implement mouse locking and keyboard focus.