API:Vcl.ListActns.TStaticListAction.OnItemSelected

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnItemSelected;

C++

__property OnItemSelected;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns TStaticListAction

Description

Occurs when a client control executes the action because a user selected one of the items.

Vcl.ListActns.TStaticListAction.OnItemSelected inherits from Vcl.ListActns.TCustomListAction.OnItemSelected. All content below this line refers to Vcl.ListActns.TCustomListAction.OnItemSelected.

Occurs when a client control executes the action because a user selected one of the items.

Write an OnItemSelected event handler to respond when the user selects one of the items supplied to client controls. Before this event is called, the list action first updates the ItemIndex property of any client controls that descend from TCustomListControl.

Sender is the list action that supplies items to the control in which an item was selected.

Control is the control in which the user selected an item.

See Also