alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

Hyperlink text with only some parts clickable

Is it possible for the Hyperlink control to have only some parts of it's text as hyperlink, kind of like the following?
Non-hyperlink part and [hyperlink part]
It would be great if this can be done on any control that has Text property, but still okay to have it in Hyperlink control for now.

The reason for having it in one control is so that the clickable text can dynamically adjust placement according to localization instead of having it in 2 controls (Static Text & Hyperlink) and then manually adjusting the position of Hyperlink control based on the length of Static Text control.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Hyperlink text with only some parts clickable

Hello Alco,

I am afraid that this is not possible. Basically, the "Static Text" and the "HyperLink" are two different controls, thus these can not be combined into one.

I am afraid that the only way to achieve what you want is by using both the "Static Text" and the "HyperLink" controls as you have already mentioned.

Please let me know if there is anything else I could help you with.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”