Open web page from dialog

Fernand Vanrie sos at pmgroup.be
Sun Jun 12 09:44:11 UTC 2016


Op 11/06/2016 om 21:25 schreef Jan Rheinländer:
jan, Andrew

there is a special control who opens hyperlinks

oDialogModel.createInstance( 
"com.sun.star.awt.UnoControlFixedHyperlinkModel")

the control  has a URL propperty

hope it helps

Greetz

Fernand

> Hi,
>
> is it possible to open a website in the user's preferred browser from a
> dialog (or from a Basic macro, or through the UNO API)?
>
> I see that the "Help" - "About" dialog does this, but it is defined in
> the source in Glade format, different to the Basic dialogs.
>
> Thanks for any ideas!
>
> Jan
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list