RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListControlDeleteSelection Class

TListControlDeleteSelection deletes the selected items in a list control (list view or listbox).

Pascal
TListControlDeleteSelection = class(TListControlAction);
C++
class TListControlDeleteSelection : public TListControlAction;

ExtActns

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. 

 

TListControlClearSelection 

TListControlMoveSelection 

TListControlDeleteSelection 

TListControlSelectAll 

TCustomListControl

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!