V2.45 - New B4XRadioButton control

TILogistic

Expert
Licensed User
Longtime User
I see that you are ahead of me.

I can modify this class to add new properties and methods.


 

rabbitBUSH

Well-Known Member
Licensed User
Longtime User
I chased something similar night before this. I didn't want the normal 'circle-dot' radio button and eventually found a way to CSS pictures/images and set them up as a radio button array - ergo - click the images and they act like a radio button.

that would be nice. maybe there already is something in B4X that I have not found (there normally is).

(pursuit was not in B4X but php-html.) after a lot of hacking it turned out to be quite simple but still not quite the way i wanted to do it. - but anyway.....

[edit - PS - Oh - i didn't have time to google translate that Spanish thread - but i'm sure this above couldn't have been in there.]
 

TILogistic

Expert
Licensed User
Longtime User
my idea is that you can customize the icons and colors.

B4X:
    B4XCheckBox1.Checked = True
    B4XCheckBox1.IconTextColor = xui.Color_Red
    B4XCheckBox1.IconBorderColor = xui.Color_Blue
    B4XCheckBox1.IconColorBackground = xui.Color_Yellow
    B4XCheckBox1.Text = "CHECK"

1616631948690.png
1616631986048.png
 
Top