+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Paragraph borders in RTF

(Guest) #1

Hello, I succeeded in getting the ToRTF$ function to work.

As usual, onequestion leads to the next…

I want to create a border around a paragraph in an RTF field.

Looking at the RTF specs that should be possible using


but L&L16 seems to ignore this completely.

Any clue why this is happening? Any suggestions on how to solve this?

(Guest) #2

Hi Jos,

In the designer, select the control, in Properties/Frame you can set borders for your control.

(Guest) #3

Yes, I know this method, but that’s not what I was looking for:

I want to sent a formatted RTF string to the L&L control which turns paragraph borders on.

In fact I would like to send 3 \par commands and have bottom line paragraph turned on to simulate a fill-in line.

(Guest) #4

LL should not ignore any RTF token unless it’s not supported by the RTF control combit uses (plainly, the system’s RTF control, also used in Wordpad).

Does Wordpad display your text corectly with the borders?


(Guest) #5

No, WordPad does not seem to respect paragraph borders either. I am sending something like “{\pard \brdrb \brdrs \brdrw10 \brsp20 \par}” but that does not show any line at all.
I can create a table cell and underline that one (that works) but I do not want to do this as I do not know the required cell width from the application. So I was hoping to just underline the paragraph and sent a bunch of “\par” to simulate fill-in lines on the printed output