Open a link inside a richText Label

Palmito

Well-known member
Hi,

Is there anyway I can make a link in a label to open the url when clicked?
If not, copy it?

My link is a <a href=...></a> in a Label with useRichText=true:
JavaScript:
this.elveteekLabel = new Label(this);
this.elveteekLabel.useRichText = true;
this.elveteekLabel.text = "© Elveteek Sàrl (LLC/GmbH/Sagl)<br><br><a href=\"https://elveteek.ch/pixinsight/\" target=\"_blank\">https:\/\/elveteek.ch/pixinsight/<a>";


1708796897828.png


Many thanks,

Cheers and CS,

Carl
 
Back
Top