Problems with submenu items

I cannot seem to get any submenus to be enabled when using them with the Popup Button Object or any of the various popup statements. Using the same code to generate an actual menu bar item works just fine with all the submenu items fully enabled.

Here is the formula I used for the Popup Button:

submenu("Test")+
menuitems("One;Two;Three;Four;Five;")+
menu("Numbers")+
menuitems("Some;Few;Many;All;")+
menuitem("Exact","SUBMENU","Test")

Here is the menu bar code that works fine:


FileMenuBar "Basic",
submenu("Test")+
menuitems("One;Two;Three;Four;Five;")+
menu("Numbers")+
menuitems("Some;Few;Many;All;")+
menuitem("Exact","SUBMENU","Test")

Tried many variations including sample code from the Help file but consistently get disabled submenus. Take a look…

Submenu Problem

This is on an M1 iMac running Sonoma 14.4.1 and Panorama x 10.2.0 b38 (4460).

See this thread from 2020. The temporary workround I found then no longer works, as Jim predicted would happen. Submenus can be attached to menu-bar menus and to popup menus in the data sheet, but not to popup menus in general.