Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textboxes autoselect upon mouse click?
Message
From
11/05/2001 08:39:43
 
 
To
11/05/2001 07:37:45
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00505893
Message ID:
00506157
Views:
20
>Hi Craig.
>
>>> Sounds like a bug to me. <<
>
>Nope < s >. There was a bug in VFP 5.0 that caused the VFP base class behavior to be executed when you issued a DODEFAULT(). That bug was fixed in VFP 6.0. So a DODEFAULT only executes the base class behavior if the class is subclassed from the base class. If the class is a subclass of a custom class, you need to invoke the base class behavior directly using the scope resolution operator like so:
>
>Textbox::GotFocus()
>
>because a DODEFAULTY() here only executes the parent class behavior.
>
>Marcia


I'd forgotten about that bug. Thanks Marcia.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform