I have a customized version of rpreview, which has a few additional buttons.
Seeing that rpreview in 7.12 is now a class, I attempt to inherit from it and place my changes in this new class. So I create a new class TPreview2, copy over method ::BuildButtonBar() and started to add in the additional buttons.
What stump me during this attempt is l2007 is declared as a static var in TPreview not as a class data. What's the correct way for me to proceed? Simply create a static l2007 var in TPreview2 or modify TPreview and change the var to a class data?
What's actually the rule of thumb when inheriting classes that make use of static vars? TPrinter is another class that comes to mind.
TIA