I wanted to give search in my webview report.
Searched the Forum for it and found below,
Since it is very old thread and codes given are also very old for B4X version, so made a new project and used the codes.
Runs OK, but the second 'click' for 2nd search for 'strom' does not show the highlighted text. Though it is there in debug log.
Tried both in release and debug in B4A 10.0.
I must be missing some code to invalidate / refresh the webview, though .invalidate also did not work.
Attached the project. Need help on it or idea of different code which works on today's version.
Regards,
Anand
Searched the Forum for it and found below,
Search WebView for Text
Hi, I have searched all the documents and tutorials but failed to find out the best way to search documents for a string. eg if i have 2 html files and i want to search for a string, and if found return which html file it found it in. How would be the best way to do this? Cheers Waz
www.b4x.com
Since it is very old thread and codes given are also very old for B4X version, so made a new project and used the codes.
Runs OK, but the second 'click' for 2nd search for 'strom' does not show the highlighted text. Though it is there in debug log.
Tried both in release and debug in B4A 10.0.
I must be missing some code to invalidate / refresh the webview, though .invalidate also did not work.
Attached the project. Need help on it or idea of different code which works on today's version.
Regards,
Anand