RibbonCmd
(Engine-Level Function)
| Description: |
Provides two variables that the ribbon will set when the user activates a command |
| Returns: |
Boolean |
Usage:  |
Steady State only. |
| Function Groups: |
Window |
| Related to: |
RibbonContextUI | RibbonGalleryItems | RibbonPersistState | RibbonSetProperty |
Format:  |
RibbonCmd(CommandID, CommandData) |
| Parameters: |
|
| CommandID |
| Required. A variable holding the unique identifier for the activated command. |
| CommandData |
| Required. A variable holding any command-specific data. |
| Comments: |
The return value of this function can be monitored to initiate script execution when the user activates a ribbon command. |
Examples:
IF RibbonCmd(CommandID, CommandData);
[
...
]
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1987- 2026 All rights reserved.