I have a program which uses a tab control. On the desktop the tabs display on the top of the control but on the device they are on the bottom.... Anyone any ideas?
You can use the Door library to change the alignment on the desktop.
B4X:
'obj is an Object.
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
tab.New1("form1",30,30,100,100)
ChangeAlignment("tab")
End Sub
Sub ChangeAlignment (TabName)
If CPPC Then Return
obj.New1(false)
obj.FromControl(Control(TabName,TabControl).ControlRef)
obj.SetProperty("Alignment","Bottom")
End Sub