How to make the title bar invisible and menu bar visible in full screen on the device

Discussion in 'Questions (Windows Mobile)' started by mozaharul, Aug 17, 2008.

  1. mozaharul

    mozaharul Active Member Licensed User

    Hi,

    In the device, in full screen mode I want the title bar would not be visible but the menu bar should be visible.

    the following code make both the title bar and the menu bar invisible.

    Sub Form1_Show
    flb.New1("Form1",B4PObject(1))
    flb.FullScreen2(CPPC,true)
    End Sub

    the following code make the menu bar invisible but the title bar visible.

    Sub Form1_Show
    flb.New1("Form1",B4PObject(1))
    flb.FullScreen2(CPPC,false)
    End Sub

    I use optimized compilation. Then how to make menu bar visible and title bar invisible.



    regards,
     
  2. klaus

    klaus Expert Licensed User

    From the help:

    FullScreen2 method removes the menu bar and/or the title bar.
    Syntax: FullScreen2 (RemoveMenu As Boolean, RemoveTitle As Boolean)

    The first binary variable, if true, removes the menu bar.
    The second binary variable, if true, removes the title line.

    You should use:

    Code:
    Sub Form1_Show
      flb.New1(
    "Form1",B4PObject(1))
      
    If CPPC Then
        flb.FullScreen2(
    false,true)
      
    End If
    End Sub
    Best regards
     
  3. mozaharul

    mozaharul Active Member Licensed User

    Thanks a lot.


    Best regards.
     
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