Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textboxes autoselect upon mouse click?
Message
From
11/05/2001 12:41:54
 
 
To
10/05/2001 14:24:26
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00505893
Message ID:
00506262
Views:
12
>Did you issue a NODEFAULT after the DODEFAULT() ?
>
>If you did not, the net effect would be a "double click".


Ah...very interesting....but still a very strange way for inherited class behavior to function.

It is not clear at all from the documentation that issuing a dodefault() (without first issuing a nodefault) causes the baseclass to do double duty. This seems to be a direct result of the fact that some event methods always execute some behavior related to the baseclass (unless you use NODEFAULT) even when the corresponding method of the subclass contains code.

I find the official documentation of this aberrant behavior to be sorely lacking.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Previous
Reply
Map
View

Click here to load this message in the networking platform