RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCombo.CopySelection Method

Copies the selected item in the drop-down list to another list control.

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

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. 

 

Items 

ItemIndex

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