We have a migrated PB12.5.2 app, with a MDI-form and a main menu which contains 950 or so menuitems.
I would like to create a function/event which gets the name (or another unique id) each time each menuitem is clicked.
This would be used to sort the menu so that the least used menuitems are hidden over time.
Also it would be used for internal statistics.
I've looked into the pbm_* event ID's, but I cannot find one that is called each time a menuitem is clicked.
Thanks in advance.
Maritech Systems AS