Information générale
Catégorie:
The Mere Mortals Framework
>Kevin,
>
>It still bothers me that cDataEnvironment is not a visual class. I was wondering... Instead of subclassing Dataenvironment to make cdataenvironment, how about if you coded it as a wrapper instead... redefine cdataenvironment as custom or line or label... create all the properties and methods that DataEnvironment has... then, in the init of cDataEnvironment, instantiate DataEnv... all code will call that class instead of dodefault or dataenvironment:: ?
>
>Is there any reason this will not work? I think you can/should do the same with cCursor and cReleation. And, is there a reason cFreeTAbleCursor doesn't inheriet from cCursor?
>
>Anyway, just though it would be simpler if we could use the visual tools to edit these classes.. while the builder is nice, it is a pain to have to use that or VCXEditor to have to look at code.
>
>Thanks,
>BOb
I kind of miss the old cDataEnvironment.prg. It is hard to learn the framework, trying to read all the methods of cDataenvironment with the vcxeditor. Also, I've found that the old method of editing aDataenvironment.prg is a lot more flexible. Putting things in wrapper classes may be just the answer.
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