Creating a button

About this task

Example

Procedure

  1. Open the design element to which you want to add the button (a page, view, frameset, form, folder, or navigator), or edit a document.
  2. Click where you want to add the button and choose Create - Hotspot - Button.
  3. On the Button Info tab of the Button Properties box, you can set the following properties:
    • Label: Enter the text you want to appear in the button.
    • Width: Specify a value, in inches, for the width of the button.
    • Style: Specify a color for the button background. You can also choose to have a button with square edges or rounded edges.
    • Type: Use this setting if you are creating a hotspot button for a template dialog box and you want the button to behave in a certain way (such as closing the dialog box after the button is pressed). You can create the following types of buttons:
  4. Optional: On the Hide When tab, specify when to hide the button.
  5. In the Info List, click Objects and select the button you just created.
  6. To program the button to run one of the client or one of the Web program code types, choose either Client or Web at the Run pull-down list.

    Choose Client when the automated task will run in the Notes® client. You can then select one of the following Client code options:

    Choose Web when the automated task will run in a Web browser. You can then select one of the following Web code options:

  7. Save the design element or document.

Other button tasks