Momentary Push Button Properties - General tab
The following table shows options under
Appearance
of the General
tab.Options | Description |
|---|---|
Border style | Select the border style. The default style is Line. If the object is a rounded rectangle, circle, or ellipse, the available border styles are None and Line. |
Border width | Type the number of pixels for the width of the object’s border. |
Back style | Select whether the object background is solid, gradient, or transparent. If you select Transparent, the object’s background is not filled in and any objects behind it show through. If you select Gradient, the object's background is filled with a linear gradient color. Specify the color for the background (Back color) in the States tab. |
Shape | Select the shape of the object. If the object is a rounded rectangle, circle, or ellipse, the application applies properties such as size and position by measuring in relation to the object’s bounding box. Tip : Press Ctrl while dragging a corner of the shape to form a square button. |
Corner radius | Available only when the shape is rounded rectangle. Specify how rounded you want the corners to be. |
Border uses back color | Select this check box to use the object’s background color for the border of the button. If this is not checked, you can assign a separate color to the border, instead of using the object’s background color. Specify the background color and the border color in the States tab. |
Highlight color | This box displays the current highlight color. Click it to select another color. For button objects, the button’s border, if any, changes to the highlight color when the operator presses the button at runtime. |
The following table shows options under
Button settings
of the General
tab.Options | Description |
|---|---|
Button action | Click the down arrow and then click one of these to specify the button's action: Normally open sends a value of 1 when the button is pressed, and a value of 0 when the button is released.Normally closed sends a value of 0 when the button is pressed, and a value of 1 when the button is released.Value sends the value you assign to State 0 when the button is pressed and the value you assign to State 1 when the button is released.If the button’s hold time is still in effect when the button is released, the second value is not sent until the hold time expires. |
Hold time | Select a minimum hold time for the push button. The application keeps the button pressed for this length of time even if the operator releases the button sooner. The hold time should reflect network traffic. Increasing the hold time prevents a very quick button press from being missed by the data source. If the data source is a memory tag, network traffic is not an issue. The operator cannot press the button again until the hold time has expired. If a display containing the button is closed before the hold time has expired, the hold time will be reset, the button will be reset to state 0 and the value for state 0 will be written out. |
The following table shows options under
Touch margins
of the General
tab.Options | Description |
|---|---|
Touch margins | You can specify a touch-insensitive margin inside the button’s edges. If the operator presses on the touch-insensitive margin, the button press is not registered. |
Horizontal margin | Type the number of pixels for the horizontal touch margin. The horizontal margin is along the button’s left and right edges |
Vertical margin | Type the number of pixels for the vertical touch margin. The vertical margin is along the button’s top and bottom edges. |
The following table shows options under
Other
of the General
tab.Options | Description |
|---|---|
Audio | Select this check box to sound an internal beeper when the object is pressed. If the computer running the project does not have an internal beeper, the object press does not trigger a beep. |
Provide Feedback