Skip to main content

TcxListBox.CopySelection(TCustomListControl) Method

Copies the selected items to the specified list control.

Declaration

procedure CopySelection(ADestination: TCustomListControl);

Parameters

Name Type
ADestination TCustomListControl

Remarks

Use the CopySelection method to copy the selected items into the specified TCustomListControl descendant. This can be either a list box, combo box or a list view control. This control is set via the ADestination parameter.

If items of the destination control are not sorted, the copied items are added to the end of the list.

See Also