Skip to content

Objects

Include: Built in; no package required.

The Objects reference covers the built-in object base class, object identity, hierarchy, lifecycle hooks, dynamic object creation, delegation, and class inspection.

Class

  • cObject is the built-in base class for DataFlex objects.

Objects at a glance

Area APIs
Lifecycle Construct_Object, End_Construct_Object, Destroy
Dynamic objects Create, CreateNamed
Identity and hierarchy Object_Id, Name, Parent, Child_Count, ChildByIndex
Delegation and neighborhood Delegation_Mode, peNeighborhood
Class inspection Class, Base_Class, ObjectClass, ClassSuperClass, IsClassOfClass, IsObjectOfClass

Member groups

  • Properties describe object identity, hierarchy, delegation, neighborhoods, and class metadata.
  • Methods cover object lifecycle hooks, dynamic object creation, child lookup, and class inspection.