Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Most menu bars become disabled unexpectedly
Message
De
12/11/2009 02:56:07
 
 
À
03/11/2009 17:04:48
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01432959
Message ID:
01434339
Vues:
50
>>>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
>
>Hi Greg, just one question related to Herman class, does he managed to solve the problem with MDI forms?, when maximizing a child MDI form the 3 control buttons did not appear in the menu bar upper right corner.
>
>Cheers,
>
>Luis


Hi Luis,

Sorry for the (very) late reply. I've been away from programming for sometime now, but I think there is no problem with MDI form if you use REPORTBEHAVIOR 90 & SET SYSMENU OFF. The drawback is it looks like standard instead of MDI form. There is a note about this in the README file.

Herman
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform