Member attributes: Class

This attribute determines the class of an object member.

Syntax

unit‑name::class‑name

Discussion

The attribute Class determines the class name of an embedded object or autoobject member. The affected object is considered accordingly as an instance of this specified class. The class name is composed of two identifiers: the name of the unit containing the class definition and the name of the class itself, both separated by :: (double colon).

Modify the attribute

To inspect or modify the value of a Class attribute, select first the affected embedded object or autoobject member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute. The assistant lists all classes available in the project:

Inherited members

Please note, the Class attribute can't be modified if the member is an autoobject variant or an embedded object inherited from a base class.