>>>I have a form in a system (VFP9) that when it opens is over the menu bar at the top.
>>>
>>>If I close the form via the x at the top right the menu bar doesn't redisplay leaving the application hard to close.
>>>
>>>Any ideas what would cause that .
>>>
>>>Thanks
>>
>>Hi Nicholas,
>>
>>do you mean the standard system menu? I can't say I've ever seen anything like that before, can you post a screen shot of the problem (both before and after you close the form)?
>>
>>The menu bar not re-displaying sounds like maybe LockScreen was left on, but that's just a WAG (Wild A** Guess not Wives and Girfriends) . :)
>
>Thanks
>
>I can't really post a screen shot as its full of company confidential information.
You can cut only a strip where the menu would be, but I guess this:
...serves as an equally valid illustration, a space where you can't see the menu :).
I got something similar but haven't got around to dig it out - using Ctl32 commandbars for menu, they sometimes vanish. In some cases (under VFP IDE) the cause is the leftover class browser's toolbar which lives in the same space; if I undock it, the menu reappears. In some other cases it hides after an error was trapped; I presume some of the Set Skip code hid it all and then it doesn't come back to recheck, or something just as obscure. It happens in development so far, and isn't a priority, so I haven't dived into it yet. I wrote this just as a SWAG, on the theoretical chance that it may give you a little LED of an idea.