cObject
---cUIObject
------DfComUIObject
---------DfInPlaceComObject
------------DfComActiveXControl
---------------cComActiveXControl
------------------cComActiveXEntryControl_
---------------------cComDbActiveXControl_
------------------------cComDbActiveXControl
This class is used to generate data-aware wrapper classes for imported ActiveX controls.
This class inherits all of the properties, events and methods of the cComActiveXControl class. It also inherits the public interface methods that are shared by all DataFlex data-aware controls such as dbForm, dbEdit or dbGrid.
In summary, cComDbActiveXControl is used to wrap and ActiveX control so that it becomes functionally identical to any DataFlex data-aware control.
The following code, taken from the COM sample application, shows the code for instantiating a data-aware calendar ActiveX control.
Object oOrderCalendar is a cComDbCalendar Set Size to 140 140 Set Location to 1 -3 Embed_ActiveX_Resource // The ActiveX properties will be embedded in the control's source code here in binary format. End_Embed_ActiveX_Resource Entry_Item Orderhea.Order_date End_Object // oOrderCalendar
Note: | All of the standard data entry object keys and features are automatically built into this class. Such as:
|