Please enable JavaScript to view this site.

ESL Documentation

You can use the add item to pulldown statement to add choices and separators dynamically to a pull-down in any region or class of regions. The item must be defined globally, either at compile time or by adding it at runtime. Once the item definition exists, it can be used to create a new item in a pull-down in the desired region or class of regions.

 

Choices and separators are added to the specified pull-down before (above) or after (below) the specified items. In order to add a separator to a pull-down dynamically, it must be named. The following example dynamically adds a separator at runtime, then adds it to the FileMenu pull-down to separate the Save functions, as shown in the following separator.

 

add separator Sep

add item Sep to pulldown FileMenu in Region before

    item SaveFile

 

_img318