Tabcontrol problem

Discussion in 'Bug Reports' started by kolbe, May 31, 2008.

  1. kolbe

    kolbe Active Member Licensed User

    The following code doesn't work, the tabcontrol doesn't show, at runtime.

    Code:
    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.

    Code:
    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
     

    Attached Files:

  2. agraham

    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.
     
  3. kolbe

    kolbe Active Member Licensed User

    You are right.

    I thought I had explored the obvious.:sign0161:

    Thanks
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice