trichview.com

trichview.support




Re: Select A word


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/18/2002 21:10:00


If this is the only contents of RichViewEdit:


rve.SetSelectionBounds(0, 9, 0, 14);

rve.Invalidate;


where

0 - index of item (if there is only one item, it has index 0; otherwise -

items are indexed from 0 to ItemCount-1)

9 - index of the first character in the word 'prima';

14 - index of the first character after the word 'prima';


See also SelectWordAt, SelectCurrentWord


>

> how can I select a word in richviewedit ?

>

> for example I wanna select the word "prima" from

>

> "here is prima rule" whish is in rvdata.items.strings[0]





Powered by ABC Amber Outlook Express Converter