RAD Studio
ContentsIndex
PreviousUpNext
E2328: Classes with properties cannot be copied by value

This error occurs if you attempt to use the default assignment operator. For example, the following code generates this error given two labels on a form:

*Label1->Font = *Label2->Font;
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!