Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form resize - design question
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00676793
Message ID:
00676868
Views:
15
Hugo,

>Would it be better if we do this in each control class? That would make the control more ?self contained?, but requires code in the init (or refresh) which means that we?ll need to remember to issue a dodefault() every time we need application specific code in init/refresh of each control.

You should always get in the habit of calling dodefault() everytime you override a method. It should become instinctive, second nature, just do it. The only decision you should be making is where to call it:
dodefault()
... more stuff
or
... more stuff
dodefault()
or
... more stuff
dodefault()
... even more stuff
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform