Full Screen Opt Compilation?

Discussion in 'Questions (Windows Mobile)' started by cdeane, Apr 21, 2008.

  1. cdeane

    cdeane Member

    How do I get full screen in Optimized Compilation?
    This is the Code I use now:

    Sub App_Start
    Form1.Show
    flib.new1("form1",B4PObject(0))
    flib.fullscreen(CPPC)
    End Sub
     
  2. klaus

    klaus Expert Licensed User

    Use following

    Code:
    flib.New1("Form1",B4PObject(1))
    If CPPC Then
      flib.FullScreen2(
    true,true)
    End If
    The first true removes the menu.
    The second true removes the title.

    Best regards
     
  3. cdeane

    cdeane Member

    It seems to have me stuck. It reverts me back to the editor, with no progress in the editor mode.
     
  4. cdeane

    cdeane Member

    Sorry,
    My Bad.
    I guess it would help if I loaded the form Im using.
     
  5. klaus

    klaus Expert Licensed User

    You must also be aware of two points:

    - you need one formlib object for each form where you want to use the formlib functions.
    - if you hide the title it's up to you to provide a button to close the form.

    Best regards
     
  6. mamuen

    mamuen Member Licensed User

    menu

    Hi,

    i want to hide the title but not the menu. I tried the following:

    FormLib1.FullScreen2(true,true)
    ->menu removed
    ->title removed

    FormLib1.FullScreen2(true,false)
    ->menu removed
    ->title not removed

    FormLib1.FullScreen2(false,true)
    ->menu not removed
    ->title not removed ?????????

    If this can explain to me somebody?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Full screen without a menu bar is only supported on .Net CF 2.0.
    Once you compiled your application with the optimized compiler the title will disappear.
    I've attached an example.
    Code:
    Sub Globals

    End Sub

    Sub App_Start
     Form1.show
     f.New1(
    "form1",B4PObject(1))
     f.FullScreen2(
    false,true)
    End Sub

    Sub Button1_Click
        AppClose
    End Sub
     

    Attached Files:

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