MENU_BAR question

Started by RobL, June 05, 2026, 12:21:53 PM

Previous topic - Next topic

RobL

Hi all,

Is it possible to read the definition of the menu bar that is displayed at the top of the window?

When I launch the "PxPlus Command Line" from within the Project IDE, there's a menu at the top of the window. ("Program  Utilities  Edit  Debug  Help"). I want to see how that menu is defined because there are some other programs I'd like to add to the "Utilities" sub-menu.

I've looked at the docs and it doesn't appear to be possible. I've even tried looking through the programs that I'm aware of that are run when PxPlus launches hoping to see where the menu is created, but no luck.

If it's not possible I can live with it, but it would be nice to be able to add some other options (like the Views, other Data Management options, etc).

Thanks in advance!
Rob Leighton


kunal.malik

Hi Rob,
The menu bar displayed in the PxPlus Command Line window (Program / Utilities / Edit / Debug / Help) is defined internally. Unfortunately, these programs are not accessible or modifiable by end users, so there's no supported way to read the menu definition or add items to those built-in sub-menus.

kunal.malik

Hi Rob,
I reviewed the issues. You can try using it in the startup file
PRINT 'OPTION'("Utility","3999=My Custom Tool")
Manual: https://manual.pvxplus.com/PXPLUS/mnemonics/option.htm