Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Full Screen Opt Compilation?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2008, 09:11 PM
Knows the basics
 
Join Date: Aug 2007
Location: Arkansas
Posts: 60
Default Full Screen Opt Compilation?

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
Reply With Quote
  #2 (permalink)  
Old 04-21-2008, 09:51 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 707
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

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
__________________
Klaus
Switzerland
Reply With Quote
  #3 (permalink)  
Old 04-21-2008, 10:10 PM
Knows the basics
 
Join Date: Aug 2007
Location: Arkansas
Posts: 60
Default

It seems to have me stuck. It reverts me back to the editor, with no progress in the editor mode.
Reply With Quote
  #4 (permalink)  
Old 04-21-2008, 10:34 PM
Knows the basics
 
Join Date: Aug 2007
Location: Arkansas
Posts: 60
Default

Sorry,
My Bad.
I guess it would help if I loaded the form Im using.
Reply With Quote
  #5 (permalink)  
Old 04-22-2008, 07:10 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 707
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

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
__________________
Klaus
Switzerland
Reply With Quote
  #6 (permalink)  
Old 05-02-2008, 10:46 AM
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 88
Default 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?
Reply With Quote
  #7 (permalink)  
Old 05-02-2008, 11:26 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

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
File Type: zip FormLib.zip (14.0 KB, 14 views)
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
common sub to make different Form full screen mozaharul Questions & Help Needed 2 11-05-2008 09:52 AM
I need help with desktop full screen ! superbabicka Questions & Help Needed 6 04-02-2008 12:05 PM
Full Screen Inc ToolBar RandomCoder Bug Reports 2 01-26-2008 03:31 PM
full screen -with- menus? rmh Questions & Help Needed 10 07-09-2007 02:27 PM
Full screen testing on PC stevefan Questions & Help Needed 1 05-14-2007 02:50 PM


All times are GMT. The time now is 03:06 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0