Hello every HMG guru,
I have a problem when I want to redefine the main menu with the last hmg version 3.4.0. I have this error message :
When using version 3.0.46 everything was working right. Any idea on how to solve that?
Redefine main menu
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Redefine main menu
Hi Chris,
Since HMG 3.1.2 version there is a new Define/Release at runtime Main / Context / Notify / DropDown Menu
You can see in this MENU_Dynamic_Demo for download or at C:\hmg.3.4.0\SAMPLES\Controls\Menu\MENU_Dynamic_Demo you can find it to analize how disable before make your new atributions.
Rgds
Since HMG 3.1.2 version there is a new Define/Release at runtime Main / Context / Notify / DropDown Menu
You can see in this MENU_Dynamic_Demo for download or at C:\hmg.3.4.0\SAMPLES\Controls\Menu\MENU_Dynamic_Demo you can find it to analize how disable before make your new atributions.
Rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 190
- Joined: Wed Jan 06, 2010 5:39 pm
Re: Redefine main menu
Thanks a lot for this fast answer!
It solves the problem but it complicates the program. It was more simple before. But there were certainly very good reasons to do that.
It solves the problem but it complicates the program. It was more simple before. But there were certainly very good reasons to do that.
Re: Redefine main menu
You can simply release main menu and create it again (from hmg 3.1.2)
Code: Select all
if IsMainMenuDefined("MainFormName")
RELEASE MAIN MENU OF MainFormName
else
MsgStop("Main Menu is not defined!")
endif
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Redefine main menu
There are many improvements, events, tooltips...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein