Vcl.StdCtrls.TCustomListBox.CopySelection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CopySelection(Destination: TCustomListControl); override;

C++

virtual void __fastcall CopySelection(Vcl::Controls::TCustomListControl* Destination);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

Copies the selected items to another list-type control.

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.

See Also