RTF2 chops a single line of text between pages on a report

K

kiwibruce

Hi
The problem I am having is that I have an application that uses Stephan's
RTF2 control
This control has been amazing except for this issue that as stumped me and
is really bugging the uses.

I have a report that has one RTF2 control that grows and can span 2 pages
(All this working well)
The problem is that sometimes a line of text is cut in half between page 1
and 2 of the report.

I figure it has to do with the Report not dealing with the ActiveX control
very well as you do not get this with a normal text box. It will ALWAYS push
the line to the next page.

So...
Is this a problem with the underlying MS RTF control?
Does anyone know if the FMS Total Access Memo Control has the same issue?
Has anyone come up with a way to deal with this issue? Is there a way to
calculate what the length of the detail section is, and break up the RTF
based on that?

Any help with this would be greatly appreciated

Thanks in advance

KiwiBruce
 
S

Stephen Lebans

Just to set the record straight, both the FMS and my RTF2 control
instantiate the RTF control directly from the WIndows Common Controls
library. Our controls are not simple wrappers for the MS RTF ActiveX
control.

The issue you describe is common to both the FMS and my control. It is
an Access rendering issue and honestly ther eis no perfect workaround.

If you are using the same font size for every line then you can try to
set the control's height to an even multiple of your standard line
height. I'll put this on the list of things to add to the next version.

--

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

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