Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form resize - design question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00676793
Message ID:
00676868
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform