Hi
I wish to know how to refer to object properties when they are accessed trought its parent. That is, I realized that I cannot access properties of views directly, but I have to declare an object with the same type of the view in order to get some custon property.
that is, suppose that the panel p contains a label
so
this doesn't work
this works
is there a reason? is an alternative way to access properties. Is it correct?
thanks
Alex
I wish to know how to refer to object properties when they are accessed trought its parent. That is, I realized that I cannot access properties of views directly, but I have to declare an object with the same type of the view in order to get some custon property.
that is, suppose that the panel p contains a label
so
this doesn't work
B4X:
msgbox(p.getview(1).text,"")
this works
B4X:
dim la as label
la=p.GetView(1)
msgbox(la.text,"")
is there a reason? is an alternative way to access properties. Is it correct?
thanks
Alex