Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Added November 2013

Hover/context menus, associated with image controls and any static text controls, may contain submenus. To indicate the start of a submenu, set the command string for the parent item to "[SUB]". To indicate the end of a submenu, define a dummy menu item whose text is "[ENDSUB]" and whose command field will be ignored.

For example, to define a two level hover/context menu similar to the following:

Item 1

Item 2 > Sub-Item 1a

         Sub-Item 1b  

Item 3

Item 4 > Sub-Item 2a

         Sub-Item 2b

 

The definition string in the tooltip parameter should be coded something like:

TOOLTIP$ = ">tooltip string\"                                &

    + "Item 1,VK_xF101;Item 2,[SUB];"                        &

    + "Sub-Item 1a,VK_xF201;Sub-Item 1b,VK_xF202;[ENDSUB],;" &

    + "Item 3,VK_xF103;Item 4,[SUB];"                        &

    + "Sub-Item 2a,VK_xF301;Sub-Item 2b,VK_xF302;[ENDSUB],;"

 

Sub menus may be nested up to nine levels deep, and a single hover/context menu may contain up to 99 total sub menus.

History

2013 November, A-Shell 6.1.1368:  Added ability to contain submenus, and added this section to doc.