B4J Question XUI: Enabled/Visible on B4XFloatTextField

Fr Simon Rundell

Member
Licensed User
I am loving the XUI Library, but some of the opportunities the new controls offer also come with (perhaps unforseen) limitations.

Having a Password feature in a B4XFloatTextField is awesome, but I am surprised that I can no longer set this control as txtfield.Enabled=True so that I can lock it (it's on a config screen and I am using the 'click on a lock trope to enable config changes).

Has anyone got a way around this? (visible also isn't an option, I had thought of that) or might it be a feature request for the next library update?

Fr. S
 

DonManfred

Expert
Licensed User
B4A
B4X:
Dim editfield As EditText = B4XFloatTextField1.TextField
    ' work with editfield; set it enabled, visible, whatever

B4J
B4X:
Dim edit As TextField = B4XFloatTextField1.TextField
 
Upvote 0

Erel

Administrator
Staff member
Licensed User
I am loving the XUI Library, but some of the opportunities the new controls offer also come with (perhaps unforseen) limitations.
XUI Views is not XUI library. They are two mostly unrelated libraries.

The custom views from XUI Views expose their internal views so you can customize them in many ways.
 
Upvote 0
Top