[Gambas-user] WebView1_MouseDown() question

richard terry rterry at ...1946...
Wed Aug 24 00:38:24 CEST 2011


On Tuesday 23 August 2011 23:47:33 Benoît Minisini wrote:
> > This code I got I think from the webview demo some time ago:
> >
> >  If hTest.Selected Then
> >         Clipboard.Copy(Webview1.SelectedText)
> >         Print webview1.SelectedText
> >    End If
> >
> > If the webview contains html, then the print webview1.selected text
> > prints out plain text.
> >
> > Is there anyway I can capture the html of the text? into a variable. It
> > must be around somewhere because if  I select the text, due a ctrl copy,
> > and then paste it into a textarea with the middle mouse button, then it
> > is pasted as formatted html.
> >
> > REgards
> >
> > Richard
> 
> Apparently there is no way in QtWebKit to retrieve the HTML selected
>  text... I will investigate.
> 
> And please if you can use a mail subject that is related to its contents!
> 
> Regards,
> 
Thanks, sorry about the misleading header

Richard




More information about the User mailing list