Instantiating Controls and Embedded Documents
Importing COM Components in the Studio creates DataFlex wrapper classes for each COM object class. The next step is to create object instances of these classes in your application.
For ActiveX controls and embedded document objects, this is done by dragging and dropping the control from the Studio's Class Palette onto your view in the visual designer. In other words, it is just like using any other Windows control, such as a Form or Grid.
Since Automation components are not visual objects, they are not added to the Studio's Class Palette. This means you would not use them in the Studio's visual designer. For information about instantiating Automation objects, refer to Programming with Automation Objects.
By default, imported ActiveX controls and Embedded Documents are placed on the Class Palette's "ActiveX" group. You can specify which group a COM component appears in when the component is imported.
The bitmaps used to represent each imported component in the Class Palette were extracted from the component's library when it was imported. If you created a data-aware control, a small "data-aware" image is superimposed.