Vcl.ComCtrls.TListItems.Assign
Delphi
procedure Assign(Source: TPersistent); override;
C++
virtual void __fastcall Assign(System::Classes::TPersistent* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TListItems |
Description
Copies the list of list items from another TListItems object.
Call Assign to copy the list of items from another object. If the Source parameter specifies another TListItems object, Assign discards the current value of Item and rebuilds the list by copying the items maintained by Source. If Source is any other type of object, Assign calls the inherited method, which will copy the list from any object that specifies how to copy to a TListItems object in its AssignTo method.