FMX.ListBox.TListBoxSelector.DoKeyboardSelect
Delphi
procedure DoKeyboardSelect(const KeyAction: TKeyAction; const Shift: TShiftState; const Item: TListBoxItem); virtual; abstract;
C++
virtual void __fastcall DoKeyboardSelect(const TKeyAction KeyAction, const System::Classes::TShiftState Shift, TListBoxItem* const Item) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
Description
- Note: This is an abstract method that subclasses of TListBoxSelector implement.
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.Move
orKeyAction.Toggle
.Shift
: The current shift state.Item
: The target item.
KeyboardSelect calls DoKeyboardSelect.