[Overview][Types][Classes][Variables][Index] Reference for unit 'MUIClass.DrawPanel' (#MUIClass)

TMUIKeyEvent

Event if a key got pressed down or released

Declaration

Source position: MUIClass.DrawPanel.pas line 20

type TMUIKeyEvent = procedure(

  Sender: TObject;

  Shift: TMUIShiftState;

  Code: Word;

  Key: Char;

  var EatEvent: Boolean

) of object;

Arguments

Sender

  

Object who got the key event

Shift

  

Which modifiers are pressed together

Code

  

KeyCode of the pressed/released key

Key

  

Pressed Key as character, if applicable or #0

EatEvent

  

Return False if the Event should be sent to the underlaying objects as well.

See also

DrawPanel.OnKeyDown

  

DrawPanel.OnKeyUp

  


Documentation generated on: 2019-01-19