Print line over flow with Stephen LeBans Lady logic

F

ft310

I am attempting to use Stephen Leban's Lady print logic to set the first few
words in a long text line in bold and the remainder of the line in non-bold.

Setting the bold works great, but when the text line overflows onto multiple
lines, the second and other multipkle lines are cut off.

Is there any way to get all of the text from the long line to print using
this logic.

Thanks
 
S

Stephen Lebans

Lady is a single line solution only.

If you only need CanGrow/Shrink capabilities on a single page then use a
Rich Text control. See:
http://www.lebans.com/richtext.htm
RTF2 control is an ActiveX RTF solution written in VC++. The RTF2 control is
a complete editing/printing solution for Access 97 or higher. Autosizing of
the RTF2 control is supported for A2K or higher. This is a full automatic
install package. This install package contains 3 required files for the
control to function. The OCX itself, RTF2.OCX and the 2 VC runtime files,
Mfc42.Dll and Msvcrt.Dll. AFAIK the two VC runtime files will already exist
on all installs of Windows.


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
F

ft310

Thank you for this reply --

I have a line that starts with two text box controls containing very little
text and then one added text box control containing a concatination of about
12 other columns (for each row).

This last control is basically free flowing text from a directory. This text
box generally occupies two lines on a page. The User now wants the first two
text boxes in bold as well as the initial name and town (in the free flowing
text box) in bold. The remainder of the entry is non-bold (roman). The Can
Grow / Shrink is already in use.

As you say -- Lady is only a single line solution. I enjoyed your web
site -- I did not realize so much was available in the various versions of
Access and it is commendable you have published so much. In my case it was
not usable but it was certainly a great tutorial.

I am now completing a report where the free flowing text box is 'broke'
after the (last) word that fits in the first line with the remainder on a
continuation line. Your name and web site are mention in the comments of
the VBA code. I will eventually be successful with this but I would not have
been able to start had I not understood the groundwork you have already
amassed.

Thank you
 

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