Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove main screen.... 1

Status
Not open for further replies.

Siddiq

MIS
Sep 23, 2000
46
0
0
PK
My whole programe just base on a single form and it is running very successfully in the if I run it winthin
V-FOXPRO.

My Problem is that when I build an EXE and run it... is shows me a main screen behind the FORM..

How to rmove that main screen that I can run the software and control it just by one form..

Thanks [sig][/sig]
 

Hi!
put following command somewhere in the startup:
_Screen.Visible = .F.

If you want to do not show it at all, out 'SCREEN=OFF' line in config.fpw file and include this file into application project. [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
 
hi
if you change the window type of the form in the properties window form modeless into modal, the command window won't appear.
try it and i hope it will solve your problem.

suha [sig][/sig]
 
Another possibility: Issue application.visible = .F. in the init event of your form (for which you might want to set ShowWindow = 2 (as top level form)). BE SURE you set application.visible to .T. again before CLEAR EVENTS (I put it in the Destroy event for the form) or you'll wind up with VFP running invisibly and no way but to end task to get rid of it. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top