A bug? or something is wrong? - about selection disappeared!

General TRichView support forum. Please post your questions here
Post Reply
Tong
Posts: 5
Joined: Fri Sep 07, 2007 7:50 am

A bug? or something is wrong? - about selection disappeared!

Post by Tong »

Hello,
Please run the demo Actiontest.exe,you'll find that the Blue Bar for the selection is disappeared inexplicably when you right click the blank space, but, if the cursor is in the selection, all is correct.

How to make the hightlight bar that indicating a selected item not disappear when I right click?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Yes, right click outside the selection deselects and moves the caret to the point of clicking. The same behavior you can find in other editors, such as Notepad or MS Word.
To disable this behavior, exclude rvoRClickDeselects from TRichViewEdit.Options.
Last edited by Sergey Tkachenko on Tue Aug 06, 2013 1:51 pm, edited 2 times in total.
Tong
Posts: 5
Joined: Fri Sep 07, 2007 7:50 am

Post by Tong »

Thank you very much. it works correctly now.
Post Reply