Vcl.ExtActns.TListControlClearSelection
Delphi
TListControlClearSelection = class(TListControlAction)
C++
class PASCALIMPLEMENTATION TListControlClearSelection : public TListControlAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | Vcl.ExtActns |
Description
TListControlClearSelection deselects all selected items in a list control (list view or list box).
Add TListControlClearSelection to an action list to allow users to deselect any selected items of a list control by using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to deselect all selected items in the target control.
TListControlClearSelection is designed to work with a list control (TCustomListControl descendant) as a target. TListControlClearSelection automatically disables itself if the target control is not a list control or if that list box or list view has no selected items.