Vcl.ExtActns.TListControlDeleteSelection
Delphi
TListControlDeleteSelection = class(TListControlAction)
C++
class PASCALIMPLEMENTATION TListControlDeleteSelection : public TListControlAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | Vcl.ExtActns |
Description
TListControlDeleteSelection deletes the selected items in a list control (list view or listbox).
Add TListControlDeleteSelection to an action list to allow users to delete the 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 delete all selected items in the target control (a listbox or list view).
TListControlDeleteSelection is designed to work with a list control (TCustomListControl descendant) as a target. TListControlDeleteSelection automatically disables itself if the target control is not a list control or if that list box or list view has no selected items.