Information générale
Catégorie:
The Mere Mortals Framework
If I've got a change that I want to make to the cGrid class, for all grids anywhere in my project, including those in cListObjs, cBizObjMaintenanceForms, etc., what's the best way to go about it?
If I just subclass the cGrid class and make my changes, then nothing will be using my subclass except things that I create that use it. If I change the MM cGrid class, then I have to watch out for updates. If I subclass the super classes, then they still use the base cGrid class. If I dupe the super classes, then I still have to watch out for updates (more so then if I just change the cGrid class).
Any thoughts?
In this instance, what I'm doing is adding a sort order indicator to the clickable header, and I'd kind of like it to be universal to the app, without having to go in to every class that uses a grid and insert code.
Thanks,
June
Suivant
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