Class Browser: How to Use the ShowMenu and AddIn MethodsLast reviewed: July 28, 1995Article ID: Q132440 |
The information in this article applies to:
SUMMARYThis article provides an example to illustrate the use of the ShowMenu and Addin methods of the Class Browser.
MORE INFORMATIONThe Class Browser allows you to browse and perform diverse tasks on classes stored in visual class libraries (.VCX files). You can customize the Class Browser by modifying the properties and methods it exposes. The example provided in this article uses the ShowMenu and the Addin methods of the Class Browser. The ShowMenu method displays a menu built from an array. The source array can have two dimensions defining a menu item and a corresponding action. When a menu option is selected, the action is executed. The example in this article creates a two-dimensional array. The Addin method provides a way to add user-defined code to the methods exposed by the Class Browser. The code can be linked to a method exposed by the Class Browser or invoked from the Add_In menu. The example in this article calls the add-in program from the Add_In menu. For an example on how to tie a program to a method of the Class Browser, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q130500 TITLE : How to Change the Default Font of the Class Browser ARTICLE-ID: Q130835 TITLE : Class Browser: How to Save Data to a File Step-by-Step Example
REFERENCESFor more information about the Class Browser and the AddIn and ShowMenu methods, search for "Browsing Classes," "AddIn method," or "ShowMenu method" in the Help menu.
|
Additional reference words: 3.00 vFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |