This example shows how to add a second window to the Composition Editor and move easily between the windows.
Adding a second window
Suppose you have created an application, added a visual part to it, and opened a Composition Editor on the visual part. The new visual part has a window already in it. To add a second window:
Now, add a push button to each window.
(Push Button part) is in
(Buttons category).
After you add the window and push buttons, change their
labels and arrange them so the Composition Editor
displays the following:
Making connections
To add function to the parts, make the following connections:
Finally, test the application. Selecting Open Window2 opens the window you added, and selecting Cancel closes it.