Android Question B4XPreferencesDialog field title

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Hi
How to change runtime/programmatically the field title that come from B4XPreferencesDialog.loadfromjson fields?
 

jimmyF

Active Member
Licensed User
Longtime User
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
So, why not, in the Table click event for example, do this:

B4X:
Dim column As B4XTableColumn = B4XTable1.GetColumn(ColumnId)
Log(column.Title)
column.Title = "New Title"
Log(column.Title)
PrefDialog.CustomListView1.Clear 'required to force the layout to be recreated

EDIT: It doesn't change anything, so, why can we not change Title Property this way?

-j
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
Upvote 0
Top