Android Question [AS Settings] Change Action property text

Blueforcer

Well-Known Member
Licensed User
Longtime User
I want to change the value of the action property on the fly without rebuilding the mainpage.

For a switch i found this way
B4X:
AS_Settings1.MainPage.GetProperty("mqttclient").View.As(B4XSwitch).Value=False

can someone help me to do this with the action property, lable doenst seem to be the right view?

thanks in advise
 
The right way is this:
B4X:
AS_Properties.PutProperty("PropertyName_5","Test")
AS_Settings1.MainPage.Refresh

But you can do this way with the attached b4xlib.
B4X:
AS_Settings1.MainPage.GetProperty("PropertyName_5").View.As(B4XView).Text = "Test2"
 

Attachments

Upvote 0
Back
Top