FMX.ListBox.TListBoxSelector.KeyboardSelect
Delphi
procedure KeyboardSelect(const KeyAction: TKeyAction; const Shift: TShiftState; const Item: TListBoxItem); virtual;
C++
virtual void __fastcall KeyboardSelect(const TKeyAction KeyAction, const System::Classes::TShiftState Shift, TListBoxItem* const Item);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
Description
A method that executes when an arrow key or the space bar key is pressed while the focus is on the TListBox instance.
The accepted parameters are:
KeyAction: It is eitherKeyAction.MoveorKeyAction.Toggle.Shift: The current shift state.Item: The target item.
KeyboardSelect calls DoKeyboardSelect.