Hiding caret when selection exists?
Posted: Sun Apr 30, 2006 5:34 pm
Is there a way to show the caret only when there is no selection? I'm thinking something along the lines of what Word does. I guess HideCaret/ShowCaret would be the way to go - the problem is where to put those calls to trap selection changes? OnSelect seems to be the place, but it fires far too often and also at unexpected times.
Of course this brings out another "problem". With caret gone, there is no visual indication on where the selection starts/ends if blank lines are involved. Word solves this by highlighting a small portion of the blank line. Is it possible to achieve the same result with TRichViewEdit?
Of course this brings out another "problem". With caret gone, there is no visual indication on where the selection starts/ends if blank lines are involved. Word solves this by highlighting a small portion of the blank line. Is it possible to achieve the same result with TRichViewEdit?