Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Most menu bars become disabled unexpectedly
Message
From
03/11/2009 13:43:12
 
 
To
03/11/2009 11:16:45
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01432959
Message ID:
01432992
Views:
74
>My client is reporting that occasionally, almost all of the menu bars in a rather complex app are becoming disabled. In their latest report, what I'm seeing is that all the menu pads are enabled, but all bars are disabled on all the pop-ups except for one. The popup where the bars are enabled is appended to the menu when a particular form opens; all the others are part of the base menu for the app.
>
>While some of the bars that are disabled have SKIP FOR conditions, others do not, so I'm pretty sure this isn't SKIP FOR.
>
>The form to which the enabled menu belongs is not modal.
>
>This happens after the user has been working with the app for a bit. I've seen it once or twice, though not recently.
>
>There are, of course, no specific steps to replicate this. This is the app I've mentioned before where we're running a VFP EXE for the UI that communicates with a couple of VFP COM EXEs that are doing stuff in the background.
>
>Anybody have any suggestions?

Sounds most likely a hanging of a modal form (not being released). But an alternative solution might be to consider to build the menus using Herman Tan's Owner Drawn Menu Class. I have used this now for about a year and not had any problems. There is a builder available to convert a standard menu to the prg for the OD menu. This is available as a download from Herman Tan. Also, the GKK Menu Editor that I wrote now supports generating a menu for this class as well.

http://www.bdurham.com/vfprocks/hermantan/downloads.htm
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform