RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.AssignTo Method

Copies the image list's properties to another image list.

Pascal
procedure AssignTo(Dest: TPersistent); override;
C++
virtual __fastcall AssignTo(TPersistent * Dest);

Applications do not call the protected AssignTo method. Instead, call the public Assign method of the destination image list. AssignTo is called when the image list is passed as the Source parameter of another object's Assign method and that Assign method can't copy information to the image list. The object whose Assign method was called is passed as the Dest parameter. AssignTo gives the image list an opportunity to copy properties to objects that were not created with the image list in mind. 

 

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