Re: SelStart / SelLength like feature in DHTMLEdit / Webbrowser Control
Thanks Mike.
I have never used textRange , and my JavaScript $ucks. Could you please post some VB/C++ code example ?
I'm making a WYSIWYG HTML editor for my iRead, so that it can read web pages too. (without loosing formatting and picture).
I need to use the SelStart/SelLength like features so that it can be integrated with my current RTB word highlighter code (and many other) without much hassle.
Re: SelStart / SelLength like feature in DHTMLEdit / Webbrowser Control
I have managed to create the textRange and able to get the text. But I don't understand how I get current textRange ? Also how to stepthrough each charecter in a textRange ?
Re: SelStart / SelLength like feature in DHTMLEdit / Webbrowser Control
Your making a control?
I suggest working out the individual code in a normal exe so you can see it running.
Personally I still think the easiest way is to copy all text to a rich text box and then use selstart and sellength.