Android Tutorial [B4X] AS TextFieldAdvanced - TitleMode (AboveTextField, FloatText and BeforeTextField)


From version 1.41 there are 2 new options for displaying the title.

AboveTextField (Default)

1715984735882.png


BeforeTextField

You have 2 options to set the width of the title:
1. each text field individually with the AS_TextFieldAdvanced1.TitleWidth = 100dip function
2. all text fields on the parent panel with one line of code AS_TextFieldAdvanced1.TitleWidthAll(Root,100dip)

(65) mage.png


FloatText

Instead of the text hint, the title text is displayed as a hint if no text is available.

AS_TextfieldAdvanced - FloatText.gif
 
Top