Thanks Bernard, I've got it working! :-D
For whoever comes across this after a search, it is worth noting that the hand pointer and the target link appearing in the tooltip are both provided by UnoControlFixedHyperlinkModel. However, the desired color has to be defined. And at this moment right-aligned text (whether UnoControlFixedTextModel or UnoControlFixedHyperlinkModel) is clipped of 1 pixel (on Windows 8.1). Best regards, -Amenel. ________________________________ De : Bernard Marcelly <marce...@club-internet.fr> À : api@openoffice.apache.org Envoyé le : Lundi 17 novembre 2014 17h37 Objet : Re: [EXT][UI] Static text hyperlink in a dialog 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