Stephen Leban's Print Lines

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
 
M

Marshall Barton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top