Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - File Menu

File Menu

Discuss PocketC for CE (including Desktop Edition)

Postby kjm on Sun Mar 11, 2001 7:54 pm

Is there any way to switch off the <u>F</u>ile menu in a programme, and then switch it back on again later?
kjm
 
Posts: 48
Joined: Wed Mar 07, 2001 4:02 pm
Location: United Kingdom

Postby IndiQa on Sun Mar 11, 2001 9:17 pm

menu_on() and menu_off() is that what you are needing?

Curt

Ambient Spacemusic
http://www.mp3.com/IndiQa
Ambient Spacemusic
http://www.mp3.com/IndiQa
IndiQa
 
Posts: 19
Joined: Wed Feb 28, 2001 11:33 pm
Location: USA

Postby kjm on Mon Mar 12, 2001 5:02 pm

Menu_off() does not seem to work with the standard File menu?
kjm
 
Posts: 48
Joined: Wed Mar 07, 2001 4:02 pm
Location: United Kingdom

Postby guy on Tue Mar 13, 2001 8:24 am

Check that you have an up-to-date version of the runtime.

On what hardware are you running PocketC?

There were some weirdnesses to do with the runtime and PocketPC devices.



Guy
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby kjm on Tue Mar 13, 2001 1:22 pm

I thought that I had the latest version of runtime. I am running it on a Casio, Cassiopeia E115, and using menu_off() does not seem to switch off the File menu.
kjm
 
Posts: 48
Joined: Wed Mar 07, 2001 4:02 pm
Location: United Kingdom

Postby Justinespinosa on Wed Mar 14, 2001 1:40 pm

menu_off() hides the menu bar. But manytimes, it dosen't redraw the screen. So, if the menu is displayed but doesen't work, try to call clearg(); just after menu_off(); it works on the ipaq and the E-105 (the machines i have to test with), and with the V2 device compiler.

J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby kjm on Wed Mar 14, 2001 7:19 pm

Yes you were right. clearg() is needed to clear the screen after a call to menu_off() on my E115. Thanks

Kevin
kjm
 
Posts: 48
Joined: Wed Mar 07, 2001 4:02 pm
Location: United Kingdom

Postby kjm on Thu Mar 15, 2001 4:50 pm

Unfortunately, it seems that, although menu_off() and clearg() do hide the menu it does unfortunately still flash up at the begining of the programme before disappearing. It almost looks as if there is something wrong.

It seems that in applications that do not want it there the default of on is bad news. Much better if the default was off so that people could call it up only if needed. Then it would be expected to appear. Seems a little stupid to appear momentarilly if you don't want it there!

Is there another way, or is there a way of altering the default to off so that it doesn't flash up at the begining?
kjm
 
Posts: 48
Joined: Wed Mar 07, 2001 4:02 pm
Location: United Kingdom

Postby Justinespinosa on Fri Mar 16, 2001 3:28 pm

You cannot set it off by default. But if you call delgui(1); as the first function of the main(), it will not stay long enough to be used. But i don't know if you can reset it on later. delgui(1) should delete the main window. But it's not allowed. So only the menu is deleted. BUT IT'S NOT A CLEAN WAY TO DO THIS

J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby cao on Fri Mar 23, 2001 3:05 pm

I put clearg into menu_off call in v3. So people won't have this confusion.
To have a better menu, I suggest go with Guy's Menubar, and turn off the default menu bar.
However, about the flash at the begining, if this is a critical problem, we can come up some hack to disable it.

Let me know.
cao
 
Posts: 60
Joined: Tue Dec 05, 2000 4:11 am
Location: USA

Postby Admin on Sat Mar 24, 2001 5:19 am

added a #pragma R3MENUOFF to disable the default menu completely. It would not even be created during the startup. Read the knowledge base artile on this subject.
Admin
 
Posts: 86
Joined: Fri Oct 06, 2000 6:00 am
Location: USA


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 2 guests

cron