Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes autoselect upon mouse click?
Message
De
11/05/2001 08:39:43
 
 
À
11/05/2001 07:37:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00505893
Message ID:
00506157
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform