peAutoCreate - DfComAutomationObject
Manipulates COM Object instantiation
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer peAutoCreate
| Access Type | Syntax |
|---|---|
| Read Access: | Get peAutoCreate to IntegerVariable |
| Write Access: | Set peAutoCreate to IntegerVariable/Value |
Description
COM Object instantiation can be manipulated via the peAutoCreate property.
Possible Values
| Constant | Meaning |
|---|---|
| acNoAutoCreate | Do not automatically instantiate the COM object upon DataFlex object creation. You must manually instantiate the COM object using CreateComObject |
| acAutoCreate | Automatically instantiate the COM object upon DataFlex object creation. You won't need to manually instantiate the COM object. |
| acDeferredAutoCreate | Automatically instantiate the COM object when it is paged (during Activate), and to be automatically destroyed when it is unpaged (during Deactivate). |
For Automation objects the default value for this property is acNoAutoCreate. This means that you must manually instantiate the COM object using CreateComObject. You would normally not change this default.
See Also