Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with menu
Message
De
16/04/2001 11:31:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with menu
Divers
Thread ID:
00495795
Message ID:
00495795
Vues:
35
Hi,

This never happened before today.

When I start my application from VFP (using the run command on my 'main' prg file), everything loads fine. My menu and my startup forms appear and there are no errors showing anywhere. But then, the first time I try to use my menu, by selecting one of it's options, an "open" window (like command 'GETFILE') appears and it seems to be looking for my menu file (*.mpx).

If I choose it correctly and hit the OK button, everything runs fine from that point on. If I hit the CANCEL button, an error is issued stating that "File does not exist". But the wierd thing is that when I print the error text, it's associated method and line; there aren't any! The cMethod and nLine parameters are empty.

Even wierder is the fact that when I compile my project into an application or an .exe, everythings works fine.

What am I doing wrong?

Stephane.


P.S. I'm using an OO approach so, if this is relevant, all configuration code is done in the "BEFOREREADEVENTS" method of my 'application' class.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform