Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-17-2008, 06:50 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
Default How to make the title bar invisible and menu bar visible in full screen on the device

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,
Reply With Quote
  #2 (permalink)  
Old 08-17-2008, 06:57 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 08-17-2008, 07:46 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
Default

Thanks a lot.


Best regards.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with desktop full screen ! superbabicka Questions (Windows Mobile) 7 11-09-2009 02:16 PM
common sub to make different Form full screen mozaharul Questions (Windows Mobile) 2 11-05-2008 08:52 AM
Application runs Full screen on device but no keyboard mozaharul Questions (Windows Mobile) 2 08-14-2008 10:44 AM
Full Screen Opt Compilation? cdeane Questions (Windows Mobile) 6 05-02-2008 10:26 AM
Full Screen Inc ToolBar RandomCoder Bug Reports 2 01-26-2008 02:31 PM


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0