Android Question How to use B4XSwitch Text property correctly

toby

Well-Known Member
Licensed User
Longtime User
Nothing happened when I set it in the Designer.

Also following line of code
B4X:
B4XSwitch1.mBase.Text="test text"
causes the compiler error:
B4X:
java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout)

What did I miss?

TIA
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…