01-07-2013 01:55 AM
I have to find text from the HTML page.
Means I have one HTML page from which I have to find text , means the word which I type to search, if it is available in that content then it will will be highlight or get focus.
So,is it possible to do the same ?
01-07-2013 03:01 AM
01-07-2013 05:11 AM
Never done this and it is not something I think will be easy, but here is how I would go about it.
You can get the HTMLElementt from the BrowserField, using getDocument(), casting to HTMLDocument, then getBody(). From there, recurse down the Nodes looking for nodes that could contain text and then searching those nodes for the text you want.
Once you have it, the trick is going to be how to highlight it on screen, and sorry there, I can't help.
Good luck, tell us how you get on.