Button Properties - General tab
The following table shows the options under
Style
in the General
tab of the Properties dialog box.Options | Description |
---|---|
Border Style | Select the border style. The default style is Line.
If you rotate the button, the button automatically changes to the beveled style. |
Preview | View the button appearance with the selected border style. |
Border width | Available only when Line or Beveled is selected. Type the number of pixels for the width of the object’s border. |
Border color | Available only when Line is selected. Configure the color for the object’s border. |
Corner radius | Available only when Line is selected. Specify how rounded you want the corners to be. Tip : Press Ctrl while dragging a corner of the shape to form a square button.When the corner radius is greater than or equal to the length of the square, you form a circular button. |
The following table shows the options under
Other
in the General
tab.Options | Description |
---|---|
Capture cursor | Select this check box to specify that the cursor will be captured when the button is pressed at runtime. When the cursor is captured, it cannot move off the button until the mouse button is released. Use this setting in places where you need to ensure that the release action for a button is carried out. Do not use this option if the button will be used to open or close a display, because if you do, when the button is pressed the mouse cursor will lock up. If this is cleared, the button behaves like a standard Windows button that lets you cancel a release action. To do this, once you have pressed the button you can hold the mouse button down and drag the cursor off the button before you release the mouse button so that the release action will not be carried out. |
Highlight when object has focus | Select this check box to specify that the button will be highlighted at runtime when it has input focus. If you select this, you must be sure to clear the check box for the Disable Highlight When Object Has Input Focus option, (in the Display Settings > Behavior) so that the input focus highlight will be visible. |
Tab index | Type a number to specify the order in which the Tab key will select the button. If you leave this blank, the Graphics editor assigns the next index number available for the display. If you specify a number, the existing index numbers are adjusted to accommodate it. |
Provide Feedback