User's Guide


Connecting the notebook to the menu

Now that you have constructed a Customer Information notebook, you need to make a connection to get the notebook window to display when Customer Information is selected from the Update menu in the main window of your Investment application.

Begin by opening the Composition Editor on the MainWindow part, then select Add Part from the Options menu. In the Add Part window type CustomerInformationPM in the Class Name field, select View Wrapper, and then select OK. Now, drop the part on an open space of the free-form surface.

To add the connection, connect the clicked event of the Customer Information menu choice to the openWidget action of the Customer Information view wrapper part.

Save the part and select Test icon to test your work. The notebook should open when you select Customer Information from the menu.


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