Options on the General tab of the Momentary Push Button Properties dialog box

The following table shows the options on the
General
tab of the
Momentary Push Button Properties
dialog box.
Options
Descriptions
Appearance
Specify the object's appearance in this area.
Border style
Select a border style for the object.
If the object shape is 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
Specifies the object background. Available options are:
  • Solid.
    The object’s background is filled with a solid color specified in the
    Back color
    option.
  • Transparent
    . The object’s background is not filled and any objects behind it show through.
  • Gradient
    . The object's background is filled with a linear gradient color.
Specify the color for the background (
Back color
) on the
States
tab.
Shape
Select the shape of the object. If the object shape is circle or ellipse, the application applies properties such as size and position by measuring in relation to the object’s bounding box.
Border uses back color
Select this check box to use the object’s background color for the border of the object.
Clear this check box to use the selected
Border Color
.
Specify the background color and the border color on the
States
tab.
Highlight color
This box shows the current highlight color. Click it to select another color.
The object's border, if any, changes to the highlight color when the operator presses the button at runtime.
Button settings
Button action
Select the type of action for the button:
  • 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. If you are using a memory tag, click the shortest hold time.
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 immediately.
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
Specifies the number of pixels for the distance inside the left and right edges of the button where the button will not be touch sensitive.
Vertical margin
Type the number of pixels for the vertical touch margin. The vertical margin is along the button’s top and bottom edges.
Other
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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal