Making selection rect match the tallest selected item

General TRichView support forum. Please post your questions here
Post Reply
aoven
Posts: 45
Joined: Wed Nov 09, 2005 7:28 pm

Making selection rect match the tallest selected item

Post by aoven »

Can someone please show me what must be done to make the blue selection rectangle always be as high as the tallest item in selection (like MS Word does)? By default, rectangle height varies from item to item.

I know it's possible, because I asked this very same question a few years back, when I first used TRichView. Unfortunately, I can't find the answer anymore.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Set RVStyle.SelectionStyle = rvssLines
aoven
Posts: 45
Joined: Wed Nov 09, 2005 7:28 pm

Post by aoven »

Ah, so simple now. It used to be fairly complicated. :)

Thanks!
Post Reply