On Thursday 12 September 2002 9:38 am, Allan Rae wrote:

> > 149   void FormPrint::update()
> > 150   {
> > 151    PrinterParams & pp = controller().params();
> >
> >
> > Every time, the controller().params() is called, it gives a
> > brand new set of values, unrelated to previous input. So I
> > guess the problem lies somewhere in ControlPrint.[Ch]. I had
> > a quick look at that, but had no idea what this code is
> > about, so didn't find any clue.

You don't need to. You just need to decide whether to use "pp" 
to update the values of all the widgets, none of the widgets or 
something in between.

> I haven't looked at this stuff in nearly 18months.  Angus did
> the split I think.  So I'm not sure how things are handled
> now.  There used to be some printing code in Liasons.[hC]
> which used to reside in frontends/ but could be anywhere or
> nowhere now.

Hello, stranger!

Yes, I did the split and yes Liasons still exists. I guess that 
the code there could get folded into ControlPrint now that it 
appears that everybody wants to use the Control-View scheme and 
not roll their own.

Hope life is treating you well.
Regards,
Angus

Reply via email to