Android Question [Solved] B4XFloatTextField, Password

Thanks for Anser,

i have (Cross) Check my and the Example, i found no diffrent.
Set TextColor to Black, no change

Attacht the BAL File where i Test it.
 

Attachments

Upvote 0
This is how it looks here:

SS-2019-05-16_17.02.44.png
 
Upvote 0
OK thanks.

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
Code:
    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
 
Upvote 0
hi,

attach a "ugly" test project.

In the Main (1.bal) all o.k., push Button 1, scroll down, this Password Fiel dont Work.

Thank for Help!
 

Attachments

Upvote 0
Upvote 0
The error happens because you are using a modal dialog. Never use modal dialogs. This doesn't let B4XFloatTextField update itself properly.
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.
 
Last edited:
Upvote 0
Unfortunly there is no (easy) way to show Text (Lable, for description e.g.), or have i not found it?
B4XPreferencesDialog is quite new. If you thing that something is missing then post it and hopefully it will be added.

You can add "separator" items with text and each other a title field that shows in the forum.
 
Upvote 0
Back
Top