Getting Started
The Investment application is nearly complete, with just a few more
connections left to make. Most importantly, you need to connect the
MainWindowView part to the secondary BuySecurityView and SellSecurityView
parts.
You need to make event-to-action connections between the push buttons of
the main window and the secondary windows. To open the secondary
windows when the push buttons are clicked, you need to connect the
clicked event of the Push Button part to the openWidget
action of the secondary window View Wrapper parts.
- Open the Composition Editor for the MainWindowView part.
- Connect the clicked event of the Buy push button to
the openWidget action of the BuySecurityView view
wrapper part.
- Connect the clicked event of the Sell push button to
the openWidget action of the SellSecurityView view
wrapper part.
- If you want to test your work, you need to add an initial item to the
Drop-down List part, because the Buy and Sell push
buttons are only enabled when an item is selected in the Drop-down List
part. Do the following:
- Open the Properties window for the Drop-down List part and click on the
value cell for the items property.
- Click on
to display the items window.
- Select Add and enter some sample text into the edit field in
the table.
- Select OK to close the Items window.
- Click anywhere on the Composition Editor to apply the properties
changes.
Your connections for the MainWindow should look like this:

For more information about making connections, refer to Connecting parts.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]