Display Settings - Behavior tab
The following table shows settings in this tab.
Options | Description |
---|---|
Commands | Enter commands or macros that will run when a display is started up or shut down. For example, to run the derived tag file called Tanks with a display, you would type DerivedOn Tanks in the Startup field and DerivedOff Tanks in the Shutdown field.If you use the Always Updating option with the Cache After Displaying option (Display /ZA), the startup command is run when the display is loaded into the cache. The shutdown command is run only when the cache is flushed (using the FlushCache command) or when you stop the project. |
Startup | Type the command or macro that is to run before the display is opened. |
Shutdown | Type the command or macro that is to run after the display is closed. |
When Field is Not Selected | Text Click to choose a color for the text in an input field that is not selected. Fill Click to choose a fill color for an input field that is not selected. |
When Field is selected | Text Click to choose a color for text in an input field that is selected. Fill Click to choose a fill color for an input field that is selected. |
When Field is in Error and is Not Selected | Text Click to choose a color for the text in an input field that is in error and is not selected. Fill Click to choose a fill color for an input field that is in error and is not selected. |
When Field is in Error and is selected | Text Click to choose a color for the text in an input field that is in error and is selected. Fill Click to choose a fill color for an input field that is in error and is selected. |
Behavior of Interactive Objects | Interactive objects are those that the operator can do something with at runtime, either using the mouse or keyboard. For example, a button that has a press action defined for it is interactive, as is a numeric input box that accepts keyboard input. |
Beep on Press | Select this check box to have a beep sound when an interactive object is clicked. |
Highlight When Cursor Passes Over It | Select this check box to turn on the highlight for interactive objects. At runtime, when the mouse cursor passes over an interactive object, it will be highlighted. Clear this check box to turn off highlights for interactive objects. |
Highlight Color | Click to choose a color for the highlight. |
Behavior of Object with Input Focus | Some interactive objects, particularly those that accept keyboard input, need to be selected by tabbing to them or clicking with the mouse to activate them so they have input focus. Among the objects that require this sort of activation are string and numeric input objects, and objects with an object key definition attached. At runtime, when these objects are in the display, one of them always is active and has input focus. |
Disable Highlight When Object Has Focus | Select this check box to turn off the highlighting of the object with input focus. |
Highlight Color | Click to choose the color of the highlight that will be displayed at runtime around the object that currently is active and has focus. When you create object keys for an object, select the Highlight option in the Object Keys dialog box, to display the highlight at runtime. If you do not do this, you will not know when the object has focus. |
Display On-screen Keyboard for Whole Display | Select this check box to show the keyboard on the screen that can be used with numeric input objects, string input objects, recipe objects, or Alarm and Event objects on the current display. |
Allow Button Action on Error | Select this check box to allow any actions defined for a Button push button object, to continue to work even if the defined animation is in an error state. For example, a Button object has a press action that opens a display and a color or visibility animation expression that includes a device tag. When this check box is selected, if communications to the device is interrupted, the button will have an X superimposed on it when the animation fails to evaluate, but it will still open the display when it is pressed. The caption for the button will be visible. If this check box is not selected, when animation defined for a Button object is in error, the Button continues to be displayed in its last state before communications was lost, but its action does not work. This often appears to the user as a client lockup . An X will be displayed in this case as well.This is a display-wide option and affects all Button push button objects on a given display. If a display contains a button object that has the option, Highlight when object has focus , turned on (in the Button Properties - General tab), the Disable Highlight When Object Has Input Focus option in the Behavior tab must be cleared so that the input focus highlight will be visible. |
Provide Feedback