Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can be read method code at runtime ?
Message
De
19/11/1999 12:51:42
 
 
À
19/11/1999 09:37:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00292948
Message ID:
00293143
Vues:
31
>>You can't do this without using the vcx or scx file. The fact that you are >trying to generally points out questionable design. What specifically are you >trying to do?
>
>I find it difficult to understand why you question a design you know nothing about.

It wasn't meant as an insult- only that when this question is asked here, the reason behind it is usually that the developer is trying to tackle a problem from the wrong angle. I said generally to be sure that you didn't think I meant ALWAYS. Sorry if I came across as critical.

>The only reason we are trying to do this is as a developer aid. This is a large project that consists of many forms and controls that are sub-classed by a number of levels. For the framework to operate successfully it is required that developers put DODEFAULT code in certain methods - and we felt it would aid the QA process to issue a warning at runtime if this code was omitted.
>

Well why didn't you say so? :-) Have you seen Ken Levy's Supercls utility? I don't think it does exactly what you are looking for, but it comes with source code that might give you some pointers.

You can use the vcx and look at the code you need to see.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform