trichview.com

trichview.support




RE: 1.8.26.2 - glitches with selection


Return to index


Author

Message

Andrew Chichlowski

Posted: 06/29/2004 11:43:26


Selection works wrong if OnCaretMove handler tries to get RichViewEdit

selection. For example:


void __fastcall TForm1::RichViewEdit1CaretMove(TObject *Sender)

{

  int startItemNo, startOffs, endItemNo, endOffs;

  if (RichViewEdit1->SelectionExists())

    RichViewEdit1->GetSelectionBounds(startItemNo, startOffs, endItemNo,

endOffs, true);

}


If OnCaretMove does not call GetSelectionBounds, the problem does not

appear.


Best regards, Andrew Chichlowski.





Powered by ABC Amber Outlook Express Converter