Horizontal Scroll

General TRichView support forum. Please post your questions here
Post Reply
Mauro

Horizontal Scroll

Post by Mauro »

Hello,

I'm trying to put a horizontal scrollbar in my TDBRichViewEdit.

I've seted MinTextWidth, MaxTextWidth, Left, Right, Top and Bottom margins,
seted VScrollVisible = True, HScrollVisible = True.

I was expecting that the behavior seems like Microsoft Word, or being, I've seted the writable area and don't want that the lines break until the text reach this area.

Did I make myself clear?

What am I doing wrong?

Regards.

Mauro.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Make sure that rvoClientTextWidth is excluded from Options
Guest

Post by Guest »

Yes, it is.

Another settings that could help me?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

That must be enough.
If MaxTextWidth = MinTextWidth > 0, text must be wrapped at this position (a scrollable area may be larger if the document includes a wide picture/table/control).
Please send me a simple project reproducing the problem.
Guest

Post by Guest »

I've found what was wrong.

I'd not understood the MinTextWidth property and had set this to 1.

Now it works fine.

Thank you very much.

Mauro.
Post Reply