xcall AUI, AUI_MENU, opcode, menuid, mnutxt, mstate, mtype, cmd, func, mstatus {,dlgid, itemid}
xcall AUI, AUI_MENU, opcode, mdfspec, mstate, mstatus {,dlgid}
The AUI_MENU class deals with the A-Shell menu bar, offering methods for adding and deleting menu items. The first form of the syntax above (AUI_Menu Traditional Method) is the original method, which is still the most flexible, but most difficult to use. The second form (AUI_Menu Simplified Method) vastly reduces the amount of code you need to write.
Note:
• | When the GUI trace is active, AUI_MENU operations are traced. |
• | This operation can only take place on a GUI-enabled client, either ATE or some form of A-Shell/Windows. |
Samples
Several sample programs illustrating menu operations may be found in the EXLIB:[908,35].
History
2009 November, 5.1.1166: A-Shell permits an unlimited number of menu items; the menu table expands automatically as need.
Subtopics
•