Previous Topic: Add the window open eventNext Topic: Position the pushbuttons


Add the pushbuttons and define their actions

Follow these steps:

Next we will add the four push buttons. Three of the four push buttons will have click events associated with them. The fourth push button, cancel, will use a special action.

  1. From the Menu Bar, click Add, Push Button.
  2. In the Button Text field enter select image. By default, it Executes the Procedure Step. Click Events.
  3. In the Event Processing dialog click Add to have it create the Click event. It will be added to the list of events associated with this push button as follows:

    Push Button Properties dialog

  4. Click Close on the Event Processing dialog and then OK on the Push Button Properties dialog and place the push button roughly in the location desired.
  5. Repeat the steps above for the “remove image” push button.
  6. Repeat the steps above for the “ok” push button.
  7. For the “cancel” push button, on the Push Button Properties dialog for the Button Action property select Special Action and in the dropdown select Cancel – Close without Execution. The push button properties will look as follows:

    Push Button properties dialog after selecting Cancel.

  8. Select the OK push button and place it appropriately.