Fr Simon Rundell Member Licensed User Longtime User Nov 19, 2019 #1 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
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 Longtime User Nov 19, 2019 #2 B4A Code: Copy Dim editfield As EditText = B4XFloatTextField1.TextField ' work with editfield; set it enabled, visible, whatever B4J Code: Copy Dim edit As TextField = B4XFloatTextField1.TextField Upvote 0
B4A Code: Copy Dim editfield As EditText = B4XFloatTextField1.TextField ' work with editfield; set it enabled, visible, whatever B4J Code: Copy Dim edit As TextField = B4XFloatTextField1.TextField
Fr Simon Rundell Member Licensed User Longtime User Nov 19, 2019 #3 Thank you. Is that the definition in Process_Globals? The IDE doesn't seem to approve... Upvote 0
DonManfred Expert Licensed User Longtime User Nov 19, 2019 #4 Fr Simon Rundell said: Thank you. Is that the definition in Process_Globals? Click to expand... NEVER do settings in Processglobal. ONLY declarations. Get the edittext when you need it Upvote 0
Fr Simon Rundell said: Thank you. Is that the definition in Process_Globals? Click to expand... NEVER do settings in Processglobal. ONLY declarations. Get the edittext when you need it
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2019 #5 You can do it directly with TextField: Code: Copy B4XFloatTextField.TextField.Enabled = False 'to hide it: B4XFloatTextField.mBase.Visible = False Upvote 0
You can do it directly with TextField: Code: Copy B4XFloatTextField.TextField.Enabled = False 'to hide it: B4XFloatTextField.mBase.Visible = False
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2019 #6 Fr Simon Rundell said: I am loving the XUI Library, but some of the opportunities the new controls offer also come with (perhaps unforseen) limitations. Click to expand... 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
Fr Simon Rundell said: I am loving the XUI Library, but some of the opportunities the new controls offer also come with (perhaps unforseen) limitations. Click to expand... 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.