Expressions for PickType and PickParam Animations
Mimic objects have PickType and PickParam properties that you can use to create pick action animations:
- PickType—represents the type of pick action that is provided by the Mimic object. You need to define a number for the type of pick action you want to use (the numbers are included in the table below).
- PickParam—represents what happens when you select the object for which the pick action is being configured. For example, if you are creating a hyperlink pick action, then the PickParam represents the target display that is shown when the hyperlink is selected. The syntax of the expression for the PickParam property varies according to the type of pick action (see the table below).
NOTE: For latched buttons, you can apply separate pick actions for when the button is pressed down and raised. The PickParam property applies to the raised button and the PickParamAlt button applies to the button when it appears to be pressed down (see PickParamAlt).
When you are creating expressions for the PickType and PickParam, you will need to use the following numbers and parameter formats:
Number for PickType Expression | PickParam |
---|---|
0 |
None |
1 |
Pick Action Menu. Uses standard ViewX reference, for example, For information on using pick action menu animations with buttons, see Button Animations. For information on using pick action menu animations with other types of Mimic objects, see: Animating an Object to Provide Access to a Pick Action Menu Or: Animating an Object to Provide Access to Selected Actions Only. |
3 |
Hyperlink. Uses standard ViewX reference or a link, for example, http://www.google.com (see Animating an Object to act as a Hyperlink). The target display replaces the existing Mimic. |
4 |
Hyperlink—the target is shown in an inset window (see Animating an Object to act as a Hyperlink). |
5 |
Method (control action)—see Animating an Object to Perform a Specific Action. |
7 |
Custom Menu. For internal use only. Do not use in your animations. |
8 |
Registry—see Animating an Object to Write a Value to the Registry. |
10 |
Hyperlink—the target is shown in a new full size window (see Animating an Object to act as a Hyperlink). |
11 |
Hyperlink—the hyperlink is on an inset Mimic and when selected, its target is shown in a new, resized inset window (see Animating an Object to act as a Hyperlink) |
14 |
ViewX command—the Mimic object triggers a ViewX command when it is selected (see Animating an Object to Trigger a ViewX Command). |
15 |
Hyperlink—the target is shown in an inset window that is relative to the parent window (see Animating an Object to act as a Hyperlink). |
16 |
System command—the Mimic object triggers a Windows system command when it is selected (see Animating an Object to Trigger a System Command). |
17 |
Execute a code fragment of a script (see Animating an Object to Execute a Script). |
18 |
Separator. For internal use only. Do not use in your animations. |
19 |
Call a specific function in a script (see Animating an Object to Execute a Script). |
20 |
Execute a code fragment on the top-level Mimic (see Animating an Object to Execute a Script). |
NOTE: If you use a PickParam animation with a custom menu, the animation will apply to the first menu option in the menu.
Further Information
Animating an Object to Provide Access to a Pick Action Menu
Animating an Object to Provide Access to Selected Actions Only
Animating an Object to act as a Hyperlink
Animating an Object to Perform a Specific Action