>Is there some simple way to hack a VCX to add custom properties to a number of the classes defined there?
Depends on what you consider simple<g>. Seriously, it is not too difficult - I gave it a stint doing a large port in 1998, adding more of rose model data into code, but the code is at that site. You have to figure outhow to mark new properties/methods in the specific memo field (in the same memo, different by a char AFAIR and wrap your head around naming conventions if overwriting in aggregated classes.
Today there are at least a couple of "base class enhancers" floating around to add properties/methods form a table to your set of base classes to reduce redundancy at the editing level. Recommended for speed critical things. Don't go overboard: repeatedly changing the method code (even just calling a piece of code after editing the "common repository") adds something you can forget. At least for methods following a "static" pattern delegate to a common object on goApp or _Screen.
HTH
thomas
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement