General rules governing precedence, Precedence and the f1 key, Precedence and embedded activex objects – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 539: Precedence and embedded activex objects – 7
19
•
S
ETTING
UP
NAVIGATION
19–7
•
•
•
• •
19
•
Pla
ceho
lde
r
General rules governing precedence
You can assign a single key to one or more of the three types of key definitions—object,
display, or client.
For example, you could assign the F2 key to open a valve when the valve object has input
focus, close a popup display that has focus, and, as a client key, to open a graphic display
containing a process overview.
When a single key has more than one definition, the following rules of precedence apply:
When a graphic display is active and an object has input focus, object keys have
precedence over display keys and client keys.
When a graphic display is active, display keys have precedence over client keys.
For example, if you assign the F2 key as a display key in some graphic displays in an
application, and you assign F2 as a client key in the same application, F2 will only
work as a client key if the active display does not also use F2 as a display key.
When designing an application, pay particular attention to the keys used by embedded
objects.
Object keys and display keys generally have precedence over keys used by embedded
objects (for example, ActiveX, or OLE objects).
However, keys used by OLE objects that are not part of FactoryTalk View (for example,
an Excel worksheet), have precedence over object or display keys. For details, see the
pages that follow.
Precedence and the F1 key
When you are developing an application in FactoryTalk View Studio, the F1 key is
reserved for opening context-sensitive Help.
At run time, if a graphic display has focus and a press, release, or repeat action has been
defined for the F1 key, F1 acts as a display, object, or client key instead of opening Help.
Precedence and embedded ActiveX objects
When a graphic display is active and an embedded ActiveX object has input focus, a key
that triggers an action in the embedded object will not trigger that action, if the same key
is also defined as an object or display key.
Instead, when you press the key, the action associated with the object key or display key
will be triggered.
Say, for example, that an ActiveX slider object controls the speed of a motor by using the
F2 key to increase the speed and the F3 key to decrease the speed. If F2 is also defined as