Hi Rudy,

Take a look at the commands in the “Menus” theme:

http://doc.4d.com/4Dv16R3/4D/16-R3/Menus.201-3217435.en.html

Then in the Application Environment, activate the menu bar you are interested 
in and loop through the menus and menu items like this:

For ($menu_i;1;Count menus)
        
        $menu_title_t:=Get menu title($menu_i)
        
        For ($menu_item_i;1;Count menu items($menu_i))
        
                // Here use menu commands to retrieve menu item information.
        
        end for
        
End for

- Jeremy French


> On Sep 26, 2017, at 8:51 AM, Two Way Communications via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> way to programatically produce a list of all the menu’s (defined in the 
> design environment) and their menu items.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to