Creates an object of the specified type.
Use this method to create forms, menus, or conditions for DBDataSource.Query.
| Visual Basic |
|---|
Public Function CreateObject( _
ByVal Type As BoCreatableObjectType _
) As Object |
- Type
The type of object to createValue Description cot_MenuCreationParams MenuCreationParams object cot_FormCreationParams FormCreationParams object cot_Conditions Conditions object cot_ChooseFromListCreationParams ChooseFromList object cot_WidgetRegParams WidgetRegParams object cot_WidgetCategoryRegParams WidgetCategoryRegParams object
This method is the recommended way to create new objects. See the example below for creating a new form.
Creating new objects using the New statement should be avoided and is supported in the current release for compatibility reasons only.
| Creating a new form (Visual Basic) | Copy Code | |
|---|---|---|
| ||