Hi...
The panel always centers on my display
p.left, p.top changes nothing.
SetLayoutAnimated length and width operate.
How do I put p where I want it on the screen?
B4X:
dialog.Title = "Add/Edit Step Data"
Dim p As B4XView = xui.CreatePanel("")
p.Left = 10dip
p.Top = 10dip
p.SetLayoutAnimated(0, 0dip, 0dip, 700dip, 200dip)
p.LoadLayout("StepDialog")
Wait For (dialog.ShowCustom(p, "OK", "", "CANCEL")) Complete (Result As Int)
The panel always centers on my display
p.left, p.top changes nothing.
SetLayoutAnimated length and width operate.
How do I put p where I want it on the screen?