Hi Klaus!
I downloaded the drawlines examples and did a few tests with them.
It worked very well. The questions I have on that topic are as follow:
1) In your example you do the draw line process always in a canvas.
I wonder if that could be done straight in the Activity?
2) The canvas is not available in the designer. I wonder how to access the canvas before the program is loaded? In order to have the controls nicely oriented in the vertical center I use a method which dose that for me,
see the example below:
lblheadline1.Left = pnlStart.Width / 2 - lblheadline1.Width / 2
This will center the label regardless how the device is rotated. I would like to do something similar with the canvas.
3) I want to draw a rectangle which surrounds a few label and text boxes to group these controls. If there is a better way of doing it please let me know.
Dim recthg As Rect
Dim hx1, hx2, hy1, hy2 As Float
hx1 = 20%x
hx2 = 80%x
hy1 = 20%y
hy2 = 80%Y
recthg.Initialize(hx1,hy1,hx2,hy2)
cvsTest.DrawRect(recthg, Colors.Red,False,5dip)
Best Regards
Heinz