iOS Question Btn TintColor vs designer

Tomas Petrus

Active Member
Licensed User
Longtime User
Hi guys
when I create toolbar buttons in code I can change their text color this way

B4X:
bbt1.TintColor = .....

But when I create normal Button in designer I am not able to change TintColor in code
color of the button no prob, text of the button no prob but tintcolor just doesnt have any effect.

No TextColor exist in code on Button object so I always see the color I setup in designer.
I need to generate a lot of things dynamicaly even those colors.

only solution I see now is to recreate this button in code and delete it from designer.

thx for help
 

Giusy

Active Member
Licensed User
Hi in designer you can choice textcolor,
it's what you want?
 

Attachments

  • button.PNG
    button.PNG
    10.1 KB · Views: 213
Upvote 0

Tomas Petrus

Active Member
Licensed User
Longtime User
The problem is I need to set color in the code for various reasons.
I cannot do it dynamicaly in designer. all other parameters I can change in the code just this one doesnt work
 
Upvote 0
Top