Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu skip for causes form refresh to fail
Message
De
12/09/2000 14:39:54
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Menu skip for causes form refresh to fail
Divers
Thread ID:
00415507
Message ID:
00415507
Vues:
60
I have a form whose refresh fails when the skip for of the last pad of an onform menu is empty. (The form is top level). I have verified htis in the debugger by testing the value of DOEEFAULT() in the form's refresh. The only physical difference in the MPR is as follows:

****** skip - disable the pad - form refreshed - generated menu code
DEFINE PAD rapports OF (m.cMenuName) PROMPT "Rapports" COLOR SCHEME 1 ;
KEY ALT+R, "" ;
SKIP FOR .T.
****** no skip - enable the pad - form does not refresh - - generated menu code
DEFINE PAD rapports OF (m.cMenuName) PROMPT "Rapports" COLOR SCHEME 1 ;
KEY ALT+R, ""
******

The menu is run in the init of the form

When another menu pad is added and it's skip for is set to .T. then skip for in the problematic menu pad is cleared, the refresh works.
Clearing the skip for in the new menu pad makes the refresh fail. So the conclusion seemed to be that a skip for clause was required in the last menu pad but "1 = 1", "1 = 2" and ".F.". causes form's refresh to fail where the result is .F.

Anyone run into this?

Thanks in advance
Charles Richard
Charles Richard
NVO Management Systems
crichard@nvo.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform