iOS Question Change CSBuilder link color

Pooya1

Active Member
Licensed User
I use below code for show text contain link
B4X:
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?
 

Pooya1

Active Member
Licensed User
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.
Omm Yes your suggestion is good
Because you set method for link,i would like to use it in my app
Thanks
 
Upvote 0
Top