That worked...mostly...I had to add the .Left and .Top properties to completely fill the iPad screen app area. Without those two lines, there was a 1/4 inch white vertical and horizontal area to the left and above the Panel1. The Panel1 looked like it was positioned, by default, at .Left 50 and .Top 50 so I just set those propertiesto 0 and that brought the Panel back over to the left and up, to cover the app screen area fully.
Panel1.Left = 0
Panel1.Top = 0
So next I added a Button1 to the Panel1 in the Designer (as shown in the attachment) but when I run the app, I don't see the Button1 at all. I see it on the iPad when I'm in the edit mode via the bridge, but not when I run it in debug mode. The second attachment is what I see when I'm in design mode.
What I'm trying to do is position the button near the bottom left of the Panel but I can't even start to do that until I can see the Button!!!
Private Sub Application_Start (Nav As NavigationController)
'SetDebugAutoFlushLogs(True) 'Uncomment if program crashes before all logs are printed.
NavControl = Nav
Page1.Initialize("Page1")
'Page1.Title = "Page Test"
Page1.RootPanel.Color = Colors.Cyan
NavControl.ShowPage(Page1)
Page1.RootPanel.LoadLayout("Main")
Page1.Title = "Button Label Test"
pScreenHeight = GetDeviceLayoutValues.Height
pScreenWidth = GetDeviceLayoutValues.Width
'Log(pScreenHeight)
'Log(pScreenWidth)
End Sub
Private Sub Page1_Resize(Width As Int, Height As Int)
Panel1.Left = 0
Panel1.Top = 0
Panel1.Width=Width
Panel1.Height=Height
End Sub