RTF2 - Formatting Issue "Wo nk y o u t put!"

S

Sharper

I am using Lebans RTF2 activex control

I have a formatting issue:

I have a form with separate RTF2 controls - one each in the header / detail
/ footer. I am using the auto-resize code on leban's site to resize.

The issue is that the control in the detail section is not formatting
properly.

The first two instances of the control on the section are fine, but the
third seems to have an issue with the font pitch as "I am ge ttin g ou
tput on th e repor t like th is". (If you get my drift!)

Any suggestions as to what the problem might be and a possible fix?

Thanks.
 
S

Sharper

Thanks for that. I'm sorry, I did post to one other NG, but I didn't see any
reply there - my news server has been a bit tempermental though!

I had been working away at this last night and had reached the conclusion
that it was something to do with the font type / size.

I managed to get a workaround for it, but I'm not sure why it works!! I
also was generating the rtf on the fly, but what I did was increase the font
size in the rtf string. By trial and error I found that if I was trying to
display Arial 9 on the report (ie setting the font properties in the control
on the report) , if I increased the font size in the rtf string to fs24
(Arial 12) then it would display perfectly. The closer the fs got to the
actual display font size on the control, the worse the problem. If the font
size in the rtf string was less than that on the control on the report, the
text was practically unreadable - two or three words would be spread across
the whole page.

I don't know if someone else can use this information to investigate the
problem further, but in the meantime I have an acceptable workaround to the
problem.

Thanks for your help.
 

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