Page 1 of 1

Hiding Cursor for 0 size Table Lines in TRichViewEdit

Posted: Tue Jul 10, 2007 7:20 pm
by rhett.price
Hi,

I have a "readonly" version of a TRichViewEdit document - it looks good, but the cursor changes to a splitter bar whenever it is is over one of the table borders. I understand this is normal, but in this instance I don't want the icon changing at all - the user can't move them anyway, since the doc is readonly. It's confusing for the end user and I would like for it to basically act like they aren't there. Is there a way to do this?

Thanks,

Rhett Price

Posted: Wed Jul 11, 2007 5:09 am
by Sergey Tkachenko
Exclude rvtoRowSizing, rvtoColSizing from table.Options

PS: the reason why the cursor changes shape even in read-only documents is a support of TDBRichViewEdit. While the dataset is in browsing mode, TDBRichViewEdit is in read-only state. But after any changes in document (including table resizing) the dataset is changed to editing mode, and the change is applied.

Posted: Thu Jul 12, 2007 1:44 am
by rhett.price
Thanks, that worked