Link on text with specific color

  1. 9 months ago

    ingurgite

    15 Sep 2019 User since 2018

    Hi,

    I am trying to put a link (generated) on a text to lead the user to a Web page. I've tried with a button but did not find how to control the action (open a Webpage) programmatically.

    I have fallen back to a Label in Markdown and put the text programmatically to [text](link). Problem is, I cannot control the color of the text which always end up being blue.

    Any advice?

    Thanks a lot.

  2. luciandesign

    15 Sep 2019 User since 2019
    Edited 9 months ago by luciandesign

    Hello,

    1. On a Button (here you can customize the style of the button) in the Action event you can use: App.openURL(url)
    2. On a Label set the Type property to: HTML and set the Text value to: <a style="color: #ededed;" href="https://www.creolabs.com">Creo</a>

or Sign Up to reply!