RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.CopySelection Method

Copies the selected items to another list-type control

Pascal
procedure CopySelection(Destination: TCustomListControl); override;
C++
virtual __fastcall CopySelection(TCustomListControl Destination);

Call CopySelection to copy all the items selected in the list box to a combo box, list view, or another list box. If the destination control is not sorted, the selected items are added to the end of its list. 

Destination is the list box, combo box, or list view to which the selected items are copied. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!