Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Return of Stupid Programmer Tricks...
Message
De
03/11/2002 09:21:21
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00717946
Message ID:
00718279
Vues:
16
>>I still think hacking the SCX or VCX with a simple
REPLACE ALL class WITH "TaxHeader", Classloc WITH cMyClassLoc FOR Class ="header"
>>is much better than trying to solve this with an automated Copy and Paste mechansim.
>
>Well, the title of this is "The Return of Stupid Programmer Tricks...":-)

Point taken, though however, your trick will never be marked as 'Stupid Programmer Tricks' ;-)

>On a serious note, however, this with particular technique you don't have to worry about other existing methods in the class.

Isn't that the reason we should define different subclasses for ? Seriously, I strongly feel that every case you would insert the same (or very simular) code as elsewhere, you'd like to investigate using (sub)classes instead.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform