Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textboxes autoselect upon mouse click?
Message
From
24/05/2001 18:39:39
 
 
To
24/05/2001 09:39:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00505893
Message ID:
00511255
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform