Stephen Leban's Print Lines

  • Thread starter Thread starter David Ryan
  • Start date Start date
D

David Ryan

Hi all,

Sorry if I am just thick, but can anyone help me use the Printlines
modules to autosize the text in my report so it fits in the size of the
control?

I have used the Memofitsingle and have it working to fit the text all
on a single line, but cannot for the life of me work out how to use the
code in PrintLines to do the same thing, but for a multiple line
control.

Can anyone help me please???

Thanks,

David
 
David said:
Sorry if I am just thick, but can anyone help me use the Printlines
modules to autosize the text in my report so it fits in the size of the
control?

I have used the Memofitsingle and have it working to fit the text all
on a single line, but cannot for the life of me work out how to use the
code in PrintLines to do the same thing, but for a multiple line
control.


Do you mean that you have a fixed (not CanGrow) text box
that you want to force some text to fit into by reducing the
size of the forn? If so, PrintLines is the wrong thing to
use, check Stephen's TextHeightWidth db.

I never heard of Memofitsingle, but if it's something you
found in a KB article, it won't do the job either.
 
Back
Top