Tabcontrol problem

kolbe

Active Member
Licensed User
Longtime 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

  • test.zip
    17.9 KB · Views: 284

kolbe

Active Member
Licensed User
Longtime User
You are right.

I thought I had explored the obvious.:sign0161:

Thanks
 
Top