VGA Form.Height bug

Discussion in 'Bug Reports' started by N1c0_ds, Dec 22, 2008.

  1. N1c0_ds

    N1c0_ds Active Member Licensed User

    On my diamond, the VGA form height is 588. However on my Touch or in ForceQVGA, it's 268. This means the bottom bar is included in QVGA but not in VGA and this causes quite some trouble in my application.

    Try compiling this in ForceQVGA then normally in optimized compile:
    Code:
    Sub App_Start
     
    MsgBox(Form1.Height)
    End Sub
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    That is correct. Currently you should subtract 52 pixels from the height to get the available screen size.
    It will be fixed.
     
  3. N1c0_ds

    N1c0_ds Active Member Licensed User

    But is it only for VGA?

    I use Screensize-26*VGA to get the form size (VGA=2 if VGA and 1 if QVGA), will it work?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    I assume that you didn't remove the title and menu bars.
    In that case the available screen size =
    Form1.Height - 52 * (VGA-1)
     
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