Vcl.ListActns.TCustomListAction.ExecuteTarget
Delphi
procedure ExecuteTarget(Target: TObject); override;
C++
virtual void __fastcall ExecuteTarget(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TCustomListAction |
Description
Generates an OnItemSelected event.
ExecuteTarget is called automatically when the user selects one of the items that the list action supplies to a client list box or combo box.
Target is the control whose item was selected.
ExecuteTarget updates the ItemIndex property of all client controls that descend from TCustomListControl, and then generates an OnItemSelected event, where your application can respond to the user's selection.