meaning and purpose of Assign ? lazarus / 21-General ---------------------------------------------------------------------- paule32 · 2025-06-07 08:46 what is the meaning and purpose of "Assign" ? is it for "copy class" to "other class" ? where do Assign know, which fields are in the class (for customer programmer classe's) ? I think, for such a member, they must be know the Informations somewhere ... ---------------------------------------------------------------------- marcov · 2025-06-07 08:51 It is not for any class, but specifically for TPersistent and derived from that all TComponents. It is a a virtual method that should implement a deep copy.  And you should implement that method for your classes, copying the relevant fields. It is not automatic. ---------------------------------------------------------------------- jamie · 2025-06-07 13:27 "Assign" = Don't leave home without it!  Also. there is an "AssignTo" somewhere.