Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why MSDN Help doesn't help me?
Message
 
 
To
05/09/2000 01:59:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00412357
Message ID:
00412377
Views:
21
Thanks Mike!

>>Where is the NODEFAULT keyword in the MSDN help? Using Index tab to search for the word, it points me to the right keyword, but pressing ENTER, it points me to DEFINE CLASS.
>
>Its a clause of DEFINE CLASS. My guess: to be more modern, you shouldn't be adding more commands to the language, just methods. Thats why the NODEFAULT got turned into a clause of an existing command. And it couldn't be a function, because your not calling some code with a return value, your preventing code.

Ok. I thought it's a command function which is a reversal of the DODEFAULT() function.

>>...but if Cancel, closing will not continue but clicking Save or Revert button again, it does not perform the behaviour we want. It doesn't enable or disable the controls which is normally Ok.

>Can you explain this again? The code you posted does touch any controls like you describe here.

The form has an EditMode property which turns .T. if adding or editing record; .F. if viewing the record only (default). If the user attempts to close the form, it fires QueryUnload which contains the code that I posted wherein, if EditMode is .T. MessageBox pops-up in the screen which has 3 buttons (Yes, No, Cancel) which serves as options. Choosing YES means close the form and save changes; NO means close the form and undo changes; CANCEL means abort the closing of the form. Clicking YES or NO works fine. Click CANCEL (back to EDIT Mode without any changes in the environment - SAVE, UNDO, CLOSE functionality are still available) works fine also, except that clicking SAVE or UNDO the second time, the expected behaviour is already abnormal. All controls which should behave as disabled and enabled don't function anymore. This only happens when after installing the SP4. We don't have that kind of behaviour in SP3. BTW, clicking SAVE or UNDO without going through QueryUnload's code portion that pop-ups the MessageBox works fine. Hope this would clarify things up. In the meantime, we excluded the CANCEL in the messagebox option while a work around is not yet available.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform