On Tuesday 05 February 2002 1:44 pm, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > However, rather than define C_FormTexinfoFeedbackCB, setPreHandler, > > feedbackCB for every class, you should make these methods part of the > > FormBase collection of functions. Then the derived classes will need > > only to override the virtual method > > Angus, can you give me a little more help: how do I implement this > function in FormBase.C? How do I call it from the dialogs? > > Thanks, > Juergen.
Perhaps my description was a little obtuse. The code I've just committed should make everything very easy. Have a look in FormBase.[Ch] to see how I generalised the prehandler stuff. The attached file is your TexInfo stuff reworked for this framework. As you see, there's nothing to it! Regards, Angus
texinfo.diff.gz
Description: GNU Zip compressed data