Skip to content

Create - cObject

Include: Built in; no package required.

Creates a child object at runtime.

Type: Function

Return data type: Handle

Parameters

Name Type Description
eClass Integer Class reference returned by RefClass(...).

Syntax

Function Create Integer eClass Returns Handle

Call

Get Create (RefClass(cObject)) to hoObj

Description

Create creates a child object under the receiver, sends the construction hooks, and returns the new object handle. Invalid class references raise a DataFlex error.