>When I run a modeless form I also replace the default _Msysmenu bar with my own (cf modify it, as in "activate menu xyz"), A modal "popup" form is sometimes requred (when the user selects certain actions from the modeless form).
>When the modal form is dismissed the menu bar resets itself to the default foxpro one.
>
>Why?
>
>How do I stop it please?
>
>Dave Turnbull
>
>PS I've tried push/pop _msysmenu around the dialog.show(), and even an "activate menu xyz" but they do not work.
Sounds like you have either a POP MENU or a SET SYSMENU TO DEFAULT in the modal form. Nothing to do but trace through the code in the modal form and it's class library. It could also be in the method that calls the modal form.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer