Is it possible there is an issue with AS_TextFieldAdvanced when the read only checkbox is checked in the designer? The field is still editable when using B4J even in read-only mode...
With this view you can quickly and easily add good looking text fields, with title and or bottom text. Additionally you can make the TextField a button, so that you can open menus, but still keep the design of the text fields. The view speeds up development because you don't have to worry about...
is something i can't influence, probably the text field is set to enabled internally as soon as the panel becomes visible. Because if I set the readonly after the ShowCustom, then it works.
B4X:
Dim pnl As B4XView = xui.CreatePanel("")
pnl.SetLayoutAnimated(0,0, 0, 300dip, 70dip)
pnl.LoadLayout("Dialog_Label")
AS_TextFieldAdvanced1.Text="This is selectable text"
dia.Initialize(Root)
Dim rs As ResumableSub = dia.ShowCustom(pnl,"yes","no","cancel")
AS_TextFieldAdvanced1.ReadOnly = True
Wait For (rs) Complete (result As Int)
Yes that seems to work, but now I've noticed the text color of the disabled field becomes lighter? Might be a default setting in Java or something like that?