Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class merging ... Feature or Bug! 8-)
Message
De
29/10/2001 14:18:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/10/2001 12:18:50
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00574396
Message ID:
00574661
Vues:
30
>Hi Dragan ...
>
>>Therefore, a rule of thumb: give your subclasses meaningful names, different from parent names.
>
>I can't use different name for the subclasses ... because i use this equivalence in the engine of Verticalization of programs.
>
>There is no problem and all work very fine, but when in design mode i use two sublasses there is this problem ... the only way to avoid the merging is to work with one subclass ... so issue a CLEAR ALL and work with the other subclass.
>
>Anyway i consider this behavior an error.

Still, there is no way to suppress it, even if naming the class the same as the parent was forbidden: you can have two sibling classes with the same name, same parent, in two classlibs, even if they were named differently from the parent. Anyway, placing any restrictions here would defeat the scheme where you can subclass the classes developed elsewhere (bought, downloaded, inherited from your rich grandfather...).

>PS: Sorry for my bad English.

Not bad at all... but then I'm not the one to judge, anche io sono strano qui (corretto?).

back to same old

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

Click here to load this message in the networking platform