Software Customisation Guide

Menus : Defining a Bar Menu Gadget
A bar menu is defined within a form definition. The menu bar is created with the bar subcommand. Note that its name is ‘bar’: there can be only one bar menu on a form. Then the user can use the bar’s Add() method to add the options. For example:
Figure 17:1.
The Choose option when picked will open Menu1 as a pull-down (assuming the user has defined Menu1).
Note:
That Menu1 need not exist when the bar is defined, it can be defined later in the form definition, but it must exist before the Choose option is selected or an error alert will be raised.
The Window and Help options will open the Window and Help system menus (described later in this chapter).

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo