Hello,
I have trouble using different menus with different forms. I am using VFP
8.0 SP1
1) Main form has top level menu name 'main'.
2) Second form is MDI has menu 'order' called when form is called & release
when form is release .
Problem#1 with Method 1
When second form is called, Main menu is deactivated when lost focus &
activated when got focus. Problem is it's change position of menu & first
bar can't be accessed because of icon place from second form.
Problem#2 with Method 2
When second form is called, Main menu is released using 'Release Menu "
command, when lost focus & called using 'do main.mpr' when got focus.
Problem is after few uses, got an error "Not enough Memory to complete this
operation'.
Problem#3 with Method 3
When second form is called, Main menu is released using 'Release Menu
Extended " command, when lost focus & called using 'do main.mpr' when got
focus. Problem is after few uses, got an error "Menu Manager internal
consistency Error'.
I tried all commands related to menu, but no success.
Please suggest me best solutions to use different menus with different forms
in one program.
I wonder why menu system in VFP is so complicated, compare to VB.
TIA
Jit
I have trouble using different menus with different forms. I am using VFP
8.0 SP1
1) Main form has top level menu name 'main'.
2) Second form is MDI has menu 'order' called when form is called & release
when form is release .
Problem#1 with Method 1
When second form is called, Main menu is deactivated when lost focus &
activated when got focus. Problem is it's change position of menu & first
bar can't be accessed because of icon place from second form.
Problem#2 with Method 2
When second form is called, Main menu is released using 'Release Menu "
command, when lost focus & called using 'do main.mpr' when got focus.
Problem is after few uses, got an error "Not enough Memory to complete this
operation'.
Problem#3 with Method 3
When second form is called, Main menu is released using 'Release Menu
Extended " command, when lost focus & called using 'do main.mpr' when got
focus. Problem is after few uses, got an error "Menu Manager internal
consistency Error'.
I tried all commands related to menu, but no success.
Please suggest me best solutions to use different menus with different forms
in one program.
I wonder why menu system in VFP is so complicated, compare to VB.
TIA
Jit