I need to be able to change the property dynamically. but if I create a dialog with 2 text boxes and put Enabled = False on one, it still allows writing.
Dim pGen As B4XView = xui.CreatePanel("")
pGen.SetLayoutAnimated(0, 0, 0, 300dip, 300dip) 'never use percentage outside of the resize event (it is allowed in the designer script).
pGen.LoadLayout("DialogLayout")