Hello, i have a problem, i want to set a "LoadLayout" property for my new view.
I have this code:
The IDE Log says:
How can i solve this, so the user can call myview.loadlayout("")
and then he have the selection of the forms?
I have this code:
B4X:
'set the layout for designer
Public Sub setLoadLayout(layout As LayoutValues)
mypnl.LoadLayout(layout.toString)
End Sub
The IDE Log says:
B4X:
Property: _loadlayout is writeonly.
How can i solve this, so the user can call myview.loadlayout("")
and then he have the selection of the forms?