Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu skip for causes form refresh to fail
Message
From
12/09/2000 14:39:54
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Menu skip for causes form refresh to fail
Miscellaneous
Thread ID:
00415507
Message ID:
00415507
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform