Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems managing grids
Message
From
22/12/2004 09:53:12
 
 
To
22/12/2004 03:24:21
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971008
Message ID:
00971403
Views:
17
Hello Alessio,

My code did not work because i put the nodefault clause at the beginning of the code, putting it where you told me, works fine. Anyway I don't understand why it behaves so...but the important thing is that it works !!!

I makes some sense when you stop to think about it. By default, VFP runs any custom code that you have written in a native method. It then runs any code that it in the base class (if any). For example, If you put code in the KeyPress() method and then issue NODEFAULT, it suppresses the keystroke. I imagine that if you put the NODEFAULT before your custom code, VFP probably sees the custom code and then executes its native base class behavior because that is what it does: run your custom code and then execute the default base class behavior unless it sees a NODEFAULT.

Anyway, I am glad that you got it working.
Previous
Reply
Map
View

Click here to load this message in the networking platform