Pooya1 Active Member Licensed User Feb 7, 2018 #1 I use below code for show text contain link Code: Copy Dim cs As CSBuilder cs.Initialize cs.Color(Colors.Red).Append("Please login to app").PopAll cs.Color(Colors.Yellow).Link("link").Append(" Signup?").Pop.Pop lbl.AttributedText = cs.PopAll My code show text in label contain link ("Signup?") But the color of link is blue And i need to change it example change to gray color Csbuilder dont have any method for change link color Do you can help me?
I use below code for show text contain link Code: Copy Dim cs As CSBuilder cs.Initialize cs.Color(Colors.Red).Append("Please login to app").PopAll cs.Color(Colors.Yellow).Link("link").Append(" Signup?").Pop.Pop lbl.AttributedText = cs.PopAll My code show text in label contain link ("Signup?") But the color of link is blue And i need to change it example change to gray color Csbuilder dont have any method for change link color Do you can help me?
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2018 #2 Why are you using Link with a label? It will only be clickable with TextViews. If you don't need it to be clickable then just set the color yourself. Upvote 0
Why are you using Link with a label? It will only be clickable with TextViews. If you don't need it to be clickable then just set the color yourself.
Pooya1 Active Member Licensed User Feb 7, 2018 #3 Erel said: Why are you using Link with a label? It will only be clickable with TextViews. If you don't need it to be clickable then just set the color yourself. Click to expand... Omm Yes your suggestion is good Because you set method for link,i would like to use it in my app Thanks Upvote 0
Erel said: Why are you using Link with a label? It will only be clickable with TextViews. If you don't need it to be clickable then just set the color yourself. Click to expand... Omm Yes your suggestion is good Because you set method for link,i would like to use it in my app Thanks