Hi Klaus,
I did declare and initialize the view. I did not need to anchor it since it was added in the Designer.
You last snippet did the trick. For some reason, I cannot access Label1 properties directly, but I can when using la1 reference.
Now my issue is, I need to access different views left and top as well as content in order to print.
The way I do it in another language is to place references to all views in a list (array), so I can sequentially read positions and content in order to send that to the printer.
Unfortunately, I tried to go through an intermediary variable but I still get the null exception. It looks as if I cannot access the real instance of the view.
This triggers the null object exception :
Dim laview As View
laview = Label1
Log(laview.Left)
Eventually, I will also need to manipulate left and top in order to move controls with touch events to enable user to customize the layout.
So I need to find a way to access reliably each view's properties values, as well as set them.
Thank you