APPLICATION DESIGN
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:
Maximum width -- specifies that the value in the Width field is the maximum width for the button. The width may be less if the width of the button text is less.
Minimum width -- specifies that the value in the Width field is at least the width specified. The button may be wider if the button text is wider.
Fixed width -- specifies that the value in the Width field is the actual width of the button. If you checked "Wrap label text as needed," any text wider than the fixed button width wraps automatically. If you have not checked "Wrap label text as needed," any text wider that the fixed button width may disappear.
Fit Content -- sets the width of the button to fit the width of the text you specified in the Label field. If you choose this option, you cannot set the width manually.
If you use the OK or Cancel buttons, the template dialog box must be invoked using @DialogBox with the [NOCANCEL] and [NOOKCANCEL] paramaters.
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.
Other button tasks