B4J Question [Solved] XUI Views. B4XFloatTextField. Border properties does not work

Dadaista

Active Member
Licensed User
Longtime User
Hi

B4XFloatTextField border properties are not working.

Border color
Border Width
Corner Radius

Designer


Run time


How can I solve it?
 
Last edited:

TILogistic

Expert
Licensed User
Longtime User
B4X:
B4XFloatTextField1.TextField.SetColorAndBorder(xui.Color_Yellow, DipToCurrent(2), xui.Color_Blue, B4XFloatTextField1.TextField.Height/2)

 
Last edited:
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Two strange things (bugs?); border and white text color:

B4X:
Do While True
    B4XFloatTextField1.TextField.SetColorAndBorder(xui.Color_Yellow, 3, xui.Color_Blue, B4XFloatTextField1.TextField.Height / 4)
    B4XFloatTextField1.TextField.TextColor = xui.Color_Black
    Sleep(1000)
    B4XFloatTextField1.TextField.SetColorAndBorder(xui.Color_Blue, 3, xui.Color_Yellow, B4XFloatTextField1.TextField.Height / 4)
    B4XFloatTextField1.TextField.TextColor = xui.Color_White
    Sleep(1000)
Loop

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…