Android Question [B4X] [XUI] AS TextFieldAdvanced - How to set 'title'from code?

james_sgp

Active Member
Licensed User
Longtime User
I want to be able to change the 'title' on the textfield the property 'title' is read only...

Can someone help?

James
 

DonManfred

Expert
Licensed User
Longtime User
I guess you have to use ASTextFieldAdvanced_Title

ASTextFieldAdvanced_Title

Fields:
FocusedTextColor As Int
Height As Float
IgnoreProperties As Boolean
IsInitialized As Boolean
Tests whether the object has been initialized.
NonFocusedTextColor As Int
Text As String
TextColor As Int
View As ASTextFieldAdvanced_ViewTitle
Visible As Boolean
xFont As B4XFont
Functions:
Initialize
Initializes the fields to their default value.

I do not use this lib so it is just a guess based on the LibraryThread-Informations
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I want to be able to change the 'title' on the textfield the property 'title' is read only...
B4X:
AS_TextFieldAdvanced1.Title.Text = "New Title"
AS_TextFieldAdvanced1.Refresh
 
Upvote 0
Top