Sign in Join
FPDoc Onlineexperiment

TFilterComboBox.OnKeyUp property

Member of TFilterComboBoxpublishedIn unit FileCtrl

Event handler signalled when a key up event has occurred for the control.

Declaration

pascal
property OnKeyUp:;

Description

OnKeyUp is a TKeyEvent property with the event handler signalled when a key up event has occurred in the control. OnKeyUp is signalled (when assigned) from the KeyUp method. It occurs when the CN_KEYUP or CN_SYSKEYUP notifications are handled for the control.

The Sender argument contains the control for the key event. It must be cast to TControl or TwinControl type to access properties or methods specific to the descendent classes.

The Key argument contains the virtual keyboard constant for the key event (like VK_F1 or VK_NUMPAD5).

Shift is a set type which contains the modifiers for the key down event like: Ctrl, Shift, Alt, or Meta.

Unlike OnKeyDown, this event occurs only once for auto-repeated keys. For more information, see OnKeyDown.

Use OnKeyDown to perform actions needed when a key down event for a non-printable key is received for the control.

Use OnKeyPress to handle a key press for printable characters entered into the control.

This description is the one of Controls.TWinControl.OnKeyUp.

See also

  • KeyUp
  • CNSysKeyUp
  • CNKeyUp
  • OnKeyDown
  • OnKeyPress
  • TKeyEvent

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.