VisualAge Help

OLE Class Generator

Use the OLE Class Generator window to create classes that wrapper the capabilities of OLE Controls and other OLE automation objects.

Fields

Push buttons

Select Generate to generate the new class (if necessary) and the appropriate selectors.

Select Close to close the OLE Class Generator window.

OLE object information

In the OLE object information field, specify the information related to the OLE object you want to create a wrapper class for.

Controls
Select this radio button if you want to query the system registry for the names of all registered OLE controls. The names appear in the drop-down list.

Other
Select this radio button if you want to query the system registry for the names of registered OLE objects other than OLE controls. The names appear in the drop-down list.

Details
Select this push button to open the help for the selected control, if help file information was found in the system registry.

After you select an object, the name of the selected object appears in the field to the right.

Code generation options

In the Code generation options field, specify options related to the wrapper class that will be generated.

In addition, you can select several additional options:

Code generation items

In the Code generation items field, you can set options related to the individual items that will be generated. The list shows the OLE properties, methods, or events, along with the Smalltalk class names that will be generated. The third column indicates whether the object will be included in the generated class.

OLE object wrapper generation

Use the OLE Object Wrapper Generation window to specify the options for generating a separate object wrapper class for an OLE property of type OleAutomationObject, or a method that returns an OleAutomationObject. Specify the information in the Code generation options and code generation items fields just as you would for any OLE wrapper class.


[ Top of Page | Previous Page | Next Page | Table of Contents ]