Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 Tags
Subject: RE: Main Window
Thread ID: 104304 Message ID: 104309 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, August 14, 2006 8:38:19 PM         
   


> > Hello!!!
> >
> > I have a little problem. I want to make a little application in which there's only one form. I would like that form to be the only thing shown (I mean I dont want to show VFP main window) When I hide the VFP main screen (_screen.visible=.f.) my form also becomes invisible.
> >
> > Is there a way to show the form while hiding the main screen?
>

>
> You should set the form.showwindow to 2 && top level form
>
> Another related thing: I would like the form to react when the user minimizes it. Is there an event or some other way to do it?
>
> Check the form.windowstate property.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts


The Event is Resize, but you are right Oliver must check WindowState in it.

Borislav Borissov



ENTIRE THREAD

Main Window Posted by Oliver Cortazar @ 8/14/2006 8:22:45 PM
RE: Main Window Posted by Borislav Borissov @ 8/14/2006 8:35:53 PM
RE: Main Window Posted by Oliver Cortazar @ 8/14/2006 8:41:57 PM
RE: Main Window Posted by Eric den Doop @ 8/14/2006 8:36:23 PM
RE: Main Window Posted by Borislav Borissov @ 8/14/2006 8:38:19 PM
RE: Main Window Posted by Oliver Cortazar @ 8/14/2006 8:42:40 PM
RE: Main Window Posted by Barbara Peisch @ 8/14/2006 10:14:10 PM