Screens and Graphics Object Properties: Pushbutton Object Properties: Pushbutton You can use this dialog to specify the following parameters: • Type drop-down list: Click to select the pushbutton type ( Momentary (default), Maintained , or Latched ). • State drop-down list: Click to specify a default state for the pushbutton ( Normally Open (default) or Normally Closed ). Click the button to toggle between its default and non-default state (according to its specified Type ). For example, in the button's initial state, it may conform to characteristics specified in the Open area of the Configuration dialog (see below).
Click the button again to toggle to the opposite state, which in this example is Closed , and conform to characteristics specified in the Closed area. • Tag/Exp text box: Type a tag or an expression to accomplish the following: • Type in a tag to receive the Write Value from the appropriate state ( Open or Closed ) area in the Configuration dialog. • Type an expression to execute On Down , when you press the pushbutton down. Note: IWS does not write the result of any expression in the Tag/Exp field into a tag. • Indicator text box: Type a tag to define an indicator that causes the button to change to a specified color when the tag value matches one of two specified values.
You must define both the colors and tag values in the Configuration dialog. If you leave this field blank, the indicator changes color automatically when you press the button. • E-Sign checkbox: When this option is checked, the user will be prompted to enter the Electronic Signature before executing the animation. • Reset text box (active for Latched pushbutton type only): Type a tag to control the button's latched state, as follows: • Type a zero and the button will remain in a latched state after you press it. • Type a nonzero value and a latched button will become unlatched after you press it. You must reset the tag value to zero before you can press the button again. • Key area:
Specify a keyboard key or create a key combination to toggle a pushbutton when you have no pointing device (mouse or touch screen) or if you want to create shortcut keys in addition to pushbuttons. • Key drop-down list: Type a key in the text box or select a non-alphanumeric key from the drop-down list. Enter a single character or key only. Numbers are not valid entries for this field. Click (check) the Shift , Ctrl , or Alt box to create a combination key, meaning the Shift, Ctrl, or Alt key must be pressed with the key specified in the drop-down list. Click the browse button … to open the Key Modifier dialog, which enables you to modify your combination keys.
You can choose Left , Right or Left or Right to specify the position on the keyboard of the Shift, Ctrl or Alt key in the combination key. If you choose Left or Right , the command will be executed any time either of these keys is pressed in combination with the key specified in the drop-down list. • Disable text box: Type a tag using a nonzero value to disable this pushbutton so that pressing the button has no effect. This box is empty by default, which also enables the Command animation. • Ext Trans. checkbox: Click (check) to translate the text automatically using pre-configured translation worksheets. (See the Translation Tool for more information.) • Security text box:
Type a value to specify a security level (0 to 255) for this button. If the user does not have the specified security level, the button becomes inactive. If the user has the appropriate security level, or you leave this field blank, the button remains active. InduSoft Web Studio Page 169