Users can add shortcuts to windows by choosing Current Window or Other Window from the Add menu on the Navigation pane. In some cases, you may not want the user to be able to add an item as a shortcut. You can add a form-level constant to control how the form can be added as a shortcut.
To control the shortcut behavior for a form, define a constant with the following name:
~SHORTCUT~
The integer value of this contant specifies whether a shortcut can be created if it’s the current form, or if the form will appear in the Add Other Windows list. The following table lists the possible values:
Value |
Add Current Window |
Add Other Windows |
---|---|---|
0 |
No |
No |
1 |
Yes |
No |
2 |
No |
Yes |
3 |
Yes |
Yes |
If a form does not have any auto-open windows, it cannot be added as a shortcut. |