Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
USER INTERFACES >>  HOW TO HIDE THE MAIN VISUAL FOXPRO SCREEN

  Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop



If you do not want to display the main Visual FoxPro background (AKA _screen), you can proceed as follows:

1) in your main prg or main form, issue the command:

_screen.visible = .F.


2) in your config.fpw file, add the following line:

SCREEN = OFF


If you do not have a config.fpw file, you can create one for example with Notepad or any other text editor. Look up topic "Special Terms for Configuration Files" in VFP help for more info about the config.fpw file.

3) verify that the ShowWindow property of your own main form is set to 2:

thisform.ShowWindow = 2 && As Top-Level form

FEEDBACK

r arjun @ 5/9/2008 3:00:58 PM
unable to do so, pl help

Dave Duke @ 3/2/2009 11:14:19 PM
For reference, you can include the config.fpw file into the project under other files, this means people can not delete it to see the main form.
Dave.duke@cryptic.co.uk

dd @ 8/5/2010 3:31:23 PM
dd

taja @ 8/5/2010 3:32:14 PM
very good

anne rivera @ 9/29/2010 7:11:27 AM
hi!..im new here..can anyone help me to have a payroll sample code using visual foxpro?the code in foxpro is also in microsoft exceL..please help me..thank you!

Emir @ 4/23/2018 9:05:53 PM
┬┐Como cerrar una aplicati├│n con eso comportamiento?



Your Name: 
Your Feedback: 

Spam Protection:
Enter the code shown: