Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes autoselect upon mouse click?
Message
De
24/05/2001 18:39:39
 
 
À
24/05/2001 09:39:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00505893
Message ID:
00511255
Vues:
16
OK. Just to sum up:

(1)DODEFAULT() executes base class parent method of current method if and only if current method is a direct subclass of the base class.

(2)Base class behavior is always executed upon exit from a method that descends from the baseclass regardless of how far down the class hierarchy the current method is...UNLESS a NODEFAULT is executed (appears?) in the code of the current method.

Suppose textbox -> cla -> clb -> clc -> cld is a class hierarchy.

cla.gotfocus is

clb.gotfocus is DODEFAULT()
NODEFAULT


clc.gotfocus is DODEFAULT()


cld.gotfocus is DODEFAULT()


In this case, the base class behavior never executes for cld.gotfocus()...True?

Which is OK of course because all pertinent aspects of each layer are exposed sufficiently for coder of level d to not be surprised by this behavior.<g>
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform