WebBrowser control
Last Updated: Sep 15 2006 17:53, Started by
vandy
, Sep 14 2006 17:02
·
0
#1
Posted 14 September 2006 - 17:02
OK.
Cum pot intercepta cand este selectat cu mouse-ul un text/cuvant dintr-o pagina web incarcata in controlul WebBrowser, si cum pot afla ce text a fost selectat (deci inainte de a fi, spre exemplu, copiat in clipbord?) Ma gandesc la ceva similar cu 'SelText' din controlul RichTextBox. Toate astea din Visual Basic 6.0? Thanx. |
#3
Posted 15 September 2006 - 16:10
Merged!
Textul selectat dintr-un WebBrowser il gasesti in ceva de genul WebBrowser1.document.activeElement.outerText vb-helper.com bafta! |
#4
Posted 15 September 2006 - 17:53
RAZ, on Sep 15 2006, 17:10, said: Merged! Textul selectat dintr-un WebBrowser il gasesti in ceva de genul WebBrowser1.document.activeElement.outerText vb-helper.com bafta! Multumesc. Am testat astea: WebBrowser1.document.activeElement.outerText WebBrowser1.document.body.outerText dar nu am fost prea aproape de ce am dorit. |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users