Introduction

 

Adding FlpGrf.OCX to CA Visual Objects


The instructions below assume Flipper has been installed correctly.

 

1.   The application in which you want to use the control must have the OLE Library included. This can be checked and changed by selecting Application, Properties and then clicking the Libraries tab.

2.   Create a new module named Flipper (or anything else for that matter) by selecting File, New Module from the menu.

3.   With the new module selected, select Tools>Setup OLE Control from the menu.

4.   From the list of registered controls, locate the Flipper control (FLPGRF) and click on it once.

5.   Underneath the ListBox in a GroupBox labeled "Base Class Generation" the Class Name FLPGRF should be displayed. This is the name you will use in your code to refer to the Flipper control. It can be changed if you want.

6.   Make sure the "Include Containing Objects" check box is checked and click the Generate Class button.

7.   VO code for the control will be generated and placed in the currently open module.

8.   After code generation, you will be returned to the "Setup OLE Controls" dialog from which you should now click on the "Add to Palette" button to make the control available in the Window editor.

9.   Important note: The implementation of collections requires a different syntax to the standard VO syntax. Please refer to the OLE Automation Collections topic in VO's online help.

 

To proceed to the tutorial, please click here.

 

 

Last modified on: Friday, August 16, 2002