Tabcontrol problem

kolbe

Active Member
Licensed User
The following code doesn't work, the tabcontrol doesn't show, at runtime.

B4X:
tbc.New1("Form1",0,0,form1.Width,form1.Height)
Passing in the values with int32 variables doesn't work either.

I tried the following code and this does work.

B4X:
tbc.New1("Form1",0,0,panel1.Width,panel1.Height)
Hard coding it to numbers works as well.

The problem occurs when running the compiled optimized exe on a VGA device. It works on the desktop IDE as well as the device IDE however.

B4PPC v6.3 and Netcf v2.

I've attached the exe. When run on a VGA device no tabcontrol appears.
Can anybody duplicate this?

Thanks
 

Attachments

agraham

Expert
Licensed User
The problem might be that the tab control might be too big to show the tabs. If I remember correctly the tabs are along the bottom on a device, perhaps they have been pushed off-screen.
 
Top