TFPGObjectList.Assign

Copy objects from Source list

Declaration

Source position: fgl.pp line 198

public 
  procedure Assign(Source: TFPGObjectList);

Description

Assign clears the list and copies all items in Source to the list. The source list must be of the same type as the destination list.

Take care if both the list owns the objects (i.e. have TFPGObjectList.FreeObjects set to True), this may result to access violations.

See also

Name Description
TFPGObjectList.Add Add new object of class T to the list.
TFPSList.Clear Clear the list

results matching ""

    No results matching ""