tsc_UITaskMenuItem

This control is for use with the tsc_WizardMenu class.  Add it to the controls list to have it place a button with the specified text on the page.

The runCode parameter should correspond with a registered UITask run code.  The control will launch the task when pressed and may appear or disappear according to the program state and the UITask requirements (ShowOnMenu).  These behaviours will happen automatically in the tsc_WizardMenu class - there is no need to subclass for custom handling.

It is possible to specify a style as context for evaluating the UITask properties as a constructor parameter.  Style dependent UITasks will need this setting to obtain the correct menu behaviour.

The ExitMenuAfterLaunch flag can be used to determine whether the host menu should continue to run after launching this task.  The default is that launching the task will exit the menu.