Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty middle layer class - runs eldest method
Message
De
02/04/1999 15:36:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Empty middle layer class - runs eldest method
Divers
Thread ID:
00204785
Message ID:
00204785
Vues:
68
I have a rather weird layout - three layers of classes, and in the top layer there's a base form class, and a class derived from that one, with many of the methods of its own. Then there's a middle layer which is intended for company-level modifications, and it inherits from the top layer, but is currently empty, and then there's a local layer which inherits from the middle layer and it's intended to keep app-specific variations, if any. Needless to say that in the early stages the mid- and local layer are mostly empty (no code, most of PEM is at default).

I instantiate a form off the local layer, and guess what - it runs the .init of the eldest class in the hieararchy. I'd have to stuff lots of dodefault()s upstream to make it behave.

Using VFP5.0a - any hints to any potential bugs which may cause this, and workarounds, if any, are welcome.

TIA

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform