In my code I generate my menus programmatically. It makes for a much easier way 
of handling things Plug I can use the Internationalization in theme items. It 
makes it easier to allow or deny menu items based on user and roles. 

My system is to have a main MB function and then for each Manu if allowed call 
a function to generate the new menu. Each Manu function then makes its won menu 
bar menu. If I need to change a menu bar name I can do so when generating the 
Manu bar. 

If I have a child or submenu its also its own function. But I don’t use the IDE 
for any of my menu bars any longer. I also sounds like the menu bar and menus 
in the IDE will be changing with the new 4D project stuff anyways so my 
programatic way seems to still work well.

> On Jan 21, 2020, at 9:36 AM, Jody Bevan via 4D_Tech <[email protected]> 
> wrote:
> 
> Ferdinando:
> 
> I have never changed the name, I have only ever added, or removed menus. 
> Maybe you need to wipe out the menu and recreate it. Not sure - sorry.
> 
> Jody
> 
>> On Jan 20, 2020, at 3:19 PM, stardata.info via 4D_Tech 
>> <[email protected]> wrote:
>> 
>> Hi Jody,
>> 
>> Actually I use the command: SET MENU ITEM to change the text in the item 
>> menu, exists one command to change the text in menu name?
>> In manual creation, I can change it, but if I need to change it using one 
>> command how I can this?
>> 
>> Thanks
>> Ferdinando
>> 
>> Message: 5
>> Date: Mon, 20 Jan 2020 11:40:12 -0600
>> From: Jody Bevan<[email protected]>
>> To: 4D iNug Technical<[email protected]>
>> Subject: Re: Change menu title
>> Message-ID:<[email protected]>
>> Content-Type: text/plain;    charset=us-ascii
>> 
>> Ferdinando:
>> 
>> How did you create your menus. With version 16 there are two ways to create 
>> your menus.
>> 
>> 1. Traditional graphical tool way
>> 2. Using a purely code way.
>> 
>> Thus if #1:
>> Go to Menu: Design -> Toolbox -> Menus
>> In the graphical tool find the menu title you would like to change and 
>> change them there.
>> 
>> If using #2:
>> 
>> Go to the method(s) that create the menus for the application. Change the 
>> title in this location. Hopefully the menus are all created in 1 method so 
>> you do not need to find all occurrences of menu changes.
>> 
>> Jody Bevan
>> Argus Productions Inc.
>> 
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:[email protected]
>> **********************************************************************
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to