Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code difference
Message
 
To
05/08/2004 06:15:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00930914
Message ID:
00930955
Views:
21
Hi Tore

>Sorry if my answer was not complete enough for you. NODEFAULT tells VFP NOT to run the code you have in the commandbutton baseclass, if you have any code there.

This is not true. If a method has code it will not call the code in the baseclass unless you use DODEFAULT()

if code runs in a method and NODEFAULT is executed, the VFP behaviour will not run. For instance the example at the start of this thread. It is code in the keypress method, calling NODEFAULT there will prohibit VFP from showing the entered key (in a textbox for example)

Because DODEFAULT() and NODEFAULT have different functions, it is entirely possible to have both commands in the same method.

Regards,
Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform