I tested it on my "main" Panel, works as expected.
This layout (BAL file)
- I load it into a ScrollView (.... SV_FTP.Panel.LoadLayout ("ftp_zugang") .....)
- the ScrollView is show with a CustomDialog (-->> i think the Problem?)
- the HintColor is not correct (not the selection in Designer)
the used Code
B4X:
Dim CV As CustomDialog
Dim SV_FTP As ScrollView
Dim ret As Int
SV_FTP.Initialize(800dip)
SV_FTP.Panel.LoadLayout("ftp_zugang")
SV_FTP.Panel.Tag = "ftp Zugang"
SV_FTP.panel.Height = ftp_chk_SavePW.Top + (ftp_chk_SavePW.Height * 3 ) + 10dip
CV.AddView(SV_FTP,0dip,0dip,100%x,100%y)
'fill with Data.....
ret=CV.Show("FTP Zugang", _
Starter.loc.Localize("txt_Save"), _
Starter.loc.Localize("txt_Cancel"),"",Null)
If ret = DialogResponse.POSITIVE Then
o.k., CustomDialog = Modal Dialog, dont work with B4XFloatTextField (and is old/"bad")
CustomLayoutDialog = non Modal Dialog, Test -> Works (and new/better way)
This Part is old. At the Time i have Create it, there was no non Modal Dialog in B4A.
This looks fine and is the Reason where i "found" B4XFloatTextField. Unfortunly there is no (easy) way to show Text (Lable, for description e.g.), or have i not found it?
I plan to use it to Replace the User/Password request.