Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Return of Stupid Programmer Tricks...
Message
From
03/11/2002 09:21:21
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00717946
Message ID:
00718279
Views:
15
>>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform