Getting Started


Adding an action to the cancel push button

When users select the Cancel button, you want the Customer Information window to close. This relationship is called an event-to-action connection.

  1. To make a connection from the Cancel Push Button, click mouse button 2 on the Cancel Push Button.

    The context menu is displayed.

  2. From the context menu, select Connect>clicked.

    The mouse pointer is displayed as artworkconnected to a dashed line. This indicates that you are in the process of making a connection.

  3. Click mouse button 2 on the title bar of your Window (the area that says Customer Information).

    A context menu is displayed.

  4. Select closeWidget.

    A green line with an arrow pointing from the Cancel Push Button to the Window title is displayed. This connection means that when the Cancel push button is clicked (an event), closeWidget (an action that means close the window) is triggered. This is an event-to-action connection, as indicated by the green rather than the blue connection.

  5. Select File>Save to save the visual part.


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