Unit 'MUIClass.DrawPanel' Package
[Overview][Types][Classes][Variables][Index] [#MUIClass]

TMUIKeyEvent

Event if a key got pressed down or released

Declaration

Source position: MUIClass.DrawPanel.pas line 21

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: 2024-11-21