Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / September 2004

Tip: Looking for answers? Try searching our database.

startup options

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
frank - 23 Sep 2004 16:47 GMT
Hi,

I have compiled an application with executable with one form. When I run the
program the form shows up inside an application frame with menu and toolbar.
How can I disable that so only the form would show up on the screen? Thank
you.

Frank
Sietse Wijnker - 23 Sep 2004 17:31 GMT
Hi Frank,
You can use
SET SYSMENU OFF
for hiding the menu and
HIDE WINDOW Standard
for hiding the default VFP toolbar. For names of the other toolbars, right
click on the space next to the toolbar. All listed names can be used like
HIDE WINDOW "windowname"

It can be that the window isn't defined when you just call them all. If so a
WEXIST("windowname") can help to test the toolbar is defined or not.

HTH,
Sietse Wijnker

<parts snipped>
> I have compiled an application with executable with one form. When I run
> the
> program the form shows up inside an application frame with menu and
> toolbar.
> How can I disable that so only the form would show up on the screen?
> Frank
Mike Pratt - 23 Sep 2004 17:51 GMT
Hi Frank,

Change your form's ShowWindow property to 2 (As Top Level Form)

Include config.fpw file in the startup directory that includes the
line:
SCREEN=OFF

Regards,

Mike

>Hi,
>
[quoted text clipped - 4 lines]
>
>Frank
Sietse Wijnker - 23 Sep 2004 20:40 GMT
Hi Mike & Frank,
Totally misread the original post.....
@Frank: Mike has posted the answer you're looking for.

Regards,
Sietse Wijnker

> Hi Frank,
>
[quoted text clipped - 7 lines]
>
> Mike

<rest snipped>
frank - 23 Sep 2004 22:40 GMT
Thank you for your feedback. I used information from both of your messages.
I did what Mike's email said but it didn't eliminate the menu and the frame
but it did make my frame independent from it. I eliminated the menu bar
using the SET SYSMENU OFF but is there another command to eliminate the
status bar too?

Frank

Sietse Wijnker <sietse.wijnker@ATsw-software.nl> escribi? en el mensaje de
noticias ebeESVaoEHA.3896@TK2MSFTNGP15.phx.gbl...
> Hi Mike & Frank,
>Totally misread the original post.....
>@Frank: Mike has posted the answer you're looking for.

>Regards,
>Sietse Wijnker

> Hi Frank,
>
[quoted text clipped - 7 lines]
>
> Mike

<rest snipped>
Fred Taylor - 24 Sep 2004 02:05 GMT
SET STATUSBAR OFF

Fred
Microsoft Visual FoxPro MVP

> Thank you for your feedback. I used information from both of your messages.
> I did what Mike's email said but it didn't eliminate the menu and the frame
[quoted text clipped - 26 lines]
> >
> <rest snipped>
Mike Pratt - 24 Sep 2004 15:43 GMT
Hi Frank,

A config.fpw text file in the startup directory with SCREEN=OFF in it
should suppress the _screen from showing at startup. Check the help
for "config.fpw".

You can also use _screen.visible=.F. or  _screen.hide in your startup
program but you will see the _screen flash.

Regards,

Mike

>I did what Mike's email said but it didn't eliminate the menu and the frame
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.