ShellMenuItem class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:37

Description

Displays a menu or option.

A MenuItem with script status functionality to automatically update the Checked fields.

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4WinUIControlsShellMenuItemClassTopic.html

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

HeaderThe option name, as is appears in a menu. You can add an underscore, as for accelerator key.
CommandParameterThe name of the script to run.
ParametersThe parameters, if script requires them.

Examples

<l:ShellMenuItem 

         Header="_Pages"  

         Tag="#1111.gif" 

         CommandParameter="AddPagesTabItem"/>

 

<l:ShellMenuItem 

         Header="Publish to Twitter" 

         CommandParameter="ExecuteWorkflowOnObjects"

   Parameters="wf=publish&amp;Pars=DestPath:/GNWeb/Twitter;prompt:false;promptMode:true;" 

/>