Vcl.StdCtrls.TCustomCombo.CopySelection
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 | TCustomCombo |
Description
Copies the selected item in the drop-down list to another list control.
CopySelection checks whether an item is selected in the drop-down list, and if so, adds it to the control specified by Destination, along with its associated object.