Use the Button tool to draw buttons on graphics page. You can then assign security rights and attach commands to it.
Buttons can be moved, re-sized, reshaped, brought to the front, and so on, and their properties edited just like other types of object.
To draw a button:
When you release the mouse button, the object properties dialog is displayed.
Buttons have the following General Appearance properties.
Property |
Description |
---|---|
[Type] Text |
Select this option to display text on the button. If you select this option, the Text and Font fields will display to the right of the dialog. If either the Text or Symbol type option is selected, you can use XP style buttons. To configure a button to use the Windows XP style, select the XP Style check box. During runtime an XP style button has a blue border when it has keyboard focus, and an orange border when the mouse is on the button. When you place a button on a page, the XP Style check box is selected by default. Pressing '^n' or 'Enter' wraps the text onto the next line. For example, Start^nMotor would display as:
|
Font |
The font used to display the text. Use the scroll bar to the right to view available fonts, or type part of a font name directly into this field. Note: The Background Color property is no longer supported for button fonts. Any imported buttons from a previous version will have the Background Color set to the default color. |
Style |
Select whether you would like the text to be Regular, Bold, Bold Italic, or Italic. |
Size |
Define the size of the text (point size). Available sizes might vary according to the selected printer and the selected font. |
Custom Fill Color |
Select this check box to enable the Fill Color Up and Fill Color down boxes. |
Fill Color Up |
The button color when in the Up state. |
Fill Color Down |
The button color when in the Down state. Note: Fill Color Up and Down options available for Text and Symbol Types only. |
[Alignment] Left |
Select this radio button to left-align multi-line text. The aligned text will remain in the center of the button. This has no effect on single lines of text. |
[Alignment] Right |
Select this radio button to right-align multi-line text. The aligned text will remain in the center of the button. This has no effect on single lines of text. |
[Alignment] Center |
Select this radio button to center-align multi-line text. The aligned text will remain in the center of the button. This has no effect on single lines of text. |
[Effect] Strikeout |
Select this box to make the text appear with a line through it. |
[Effect] Underline |
Select this box to underline the text. |
Text |
This field contains the text that will display on the page. You can enter any keyboard character(s). You can edit the text here, or directly from the graphics page. It is useful to edit text at this field, as you can apply text changes at the same time as you apply other font and color changes. This text changes automatically depending on the Display Value properties that you define. |
Foreground |
The color of the text. |
[Type] Symbol |
Select this option to display a symbol on the button. If you select this option, the Set button will display to the right of the dialog. Click Set to choose the symbol which is to display on the button. A picture of the selected symbol will also display. |
[Type] Target |
When this option is selected, the button will not have any text or symbols on it, and it will have a transparent face. |
Mode |
There are three different modes of transparent buttons:
|
For help on the remaining properties tabs, see Define Common Object Properties.
See Also
Published June 2018