[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'EditBtn' (#lcl)

TCustomControlFilterEdit.EditKeyDown

Handles a KeyDown event for the Edit control.

Declaration

Source position: editbtn.pas line 255

protected procedure TCustomControlFilterEdit.EditKeyDown(

  var Key: Word;

  Shift: TShiftState

); override;

Arguments

Key

  

Virtual key code for the key down event.

Shift

  

Shift, Alt, or Ctrl modifier for the key down event.

Description

EditKeyDown is an overridden method in TCustomControlFilterEdit. It implements the OnKeyDown event handler for the Edit in the grouped edit control. It extends the inherited method to handle additional key down events, including:

The methods called to respond to the key down event are declared as abstract virtual methods in TCustomControlFilterEdit; they are implemented in descendent classes to call methods in the associated control for the filter edit control.

If the value in Key is handled in the method, Key is set to VK_UNKNOWN (0). Otherwise, the inherited method is called to handle the Key and Shift modifier.


Version 3.2 Generated 2024-02-25 Home