Hi,
Since OpenOffice.org version 3.3 there is a control called FixedHyperlink.
However it is not available in the palette of controls in the IDE. So you have
to insert it by program.
Suppose your dialog is in variable dlg.
Dim dlg As Object
Dim fhm As Object
dlg = CreateUnoDialog(.....)
fhm = dlg.Model.createInstance("com.sun.star.awt.UnoControlFixedHyperlinkModel")
With fhm
.Name = "Hyperlink1"
.PositionX = 10
.PositionY = 10
.Width = 50
.Height = 15
.Label = "Apache OpenOffice"
.URL = "http://www.openoffice.org/"
End With
dlg.Model.insertByName(fhm.Name, fhm)
dlg.execute
Regards
Bernard
Message de W. Amenel VOGLOZIN date 2014-11-17 16:42 :
Hi,
I would like to add a static text (Label Field) to a dialog and the text would act as an
HTTP hyperlink. It would be similar (including the hand pointer) to the "Get more
extensions online" that can be found in the lower right corner of the Extension
Manager and the text would trigger the opening of the specified link in a Web browser.
Unfortunately, I don't see in the developer guide and published service
specifications anything that would allow me to do just that. Could someone
point me into the right direction?
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org