CSXADMIN
asked on
Modifying MDIChild System Menu
Hello Delphi Gurus...
I would like to modify the System Menu of a MDIChild form. I have done this previously on a "Normal" form, and I can also do it on the MDI Parent form. I have tried using AppendMenu, InsertMenu, SetMenuItemInfo etc... but none of these work on the MDIChild form. I am using Delphi 7.0 PRO.
Thanks for your help.
I would like to modify the System Menu of a MDIChild form. I have done this previously on a "Normal" form, and I can also do it on the MDI Parent form. I have tried using AppendMenu, InsertMenu, SetMenuItemInfo etc... but none of these work on the MDIChild form. I am using Delphi 7.0 PRO.
Thanks for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That is what I had too.... The only problem was that after appending the menu, I was also calling BorderIcons := [biSystemMenu, biMinimize]; ( I wanted to prevent the user from Maximizing the forms also)... As it turns out... a call to BorderIcons := [biSystemMenu] most likelly initializes the system menu back to its original state...
Thanks for you help...