omron — Pushbutton object

Screens and Graphics • Gap : Specify the gap (in pixels) between the image and the side of the button. • Transparent Color : Select which color in the image should be transparent. The background color (see above) will show through these areas. • Advanced : Specify advanced settings for the button by clicking the Advanced button. When the Advanced dialog is displayed, specify the following parameters: • Enable translation ( optional ): Specify an external translation file for the button label by clicking (checking) the box. • Multiline : Allow the caption of the button to be shown in more than one line, when checked. • Wrap Text :

When checked, the object automatically wraps the text when necessary. • Auto gray out : Turns the caption of the button to gray when the Command animation applied to the button is disabled by the Disable field or due to the Security System . • Auto Format : When checked, if the caption includes a decimal value enclosed by curly brackets (e,g, {1.2345} ) or a tag of Real type (see Caption above), then the value will be formatted according to the virtual table created by the SetDecimalPoints() function. • Command : Click to automatically apply a Command animation to the button and then switch to the animation's properties.

PUSHBUTTON OBJECT On the Graphics tab, in the Active Objects group, click Pushbutton to create a Pushbutton object using the Command animation with an object or pre-configured pushbuttons. IWS provides the following pre-configured button types, all of which mimic the standard panel buttons of the same name: • Momentary (default): Changes state ( Open or Closed ) when you press the button and reverts to its initial state when you release the button. This button type always displays in its normal position when you open the screen. • Maintained : Changes state ( Open or Closed ) when you press the button but does not revert to its initial state when you release the button.

You must press the button again to change its present state. This button type maintains its state across screen changes. • Latched : Changes state ( Open or Closed ) when you press the button and remains in this state until you release it by changing the Reset tag. IWS also provides the following button styles: • Rectangular with a faceplate and indicator light • Rectangular without a faceplate or indicator light (default) • Rectangular with a 3-D • Rectangular with a floating appearance To add one or more pre-configured buttons to a screen: 1. Click the Pushbutton tool, and position the mouse (pointer) on the screen. 2. Click and drag to create/adjust the size of the rectangular button.

The button size and text font characteristics determine how much text you can display and how much area you can touch on a touch screen. You can resize the button and change the font characteristics later to permit longer messages to be shown in a given space. 3. Double-click on the object to open the Object Properties dialog. Tip: Alternatively, you can right-click on the pushbutton object or highlight the object, press Alt+Enter, and select Properties from the resulting shortcut menu to open the Object Properties dialog. Page 168 InduSoft Web Studio