Making VFP8 main program invisible in applications without making forms invisible?

Making VFP8 main program invisible in applications without making forms invisible?

Post by Congenital » Thu, 15 Jul 2004 03:25:04


This is wierd. I wrote an app & compiled a few years ago and figured out
how to turn off the main VFP window in the app so all you see is the form.
I'm writing a new app, and trying to do the same, but every time my app main
form is invisible, too.

I've gone over my old app, and read the Help in VFP8, and it seems like I am
doing the same code, but it still makes my main form invisible.

Here's how I am trying to do it:

In the Init of my main form called from main.prg I have

application.visible=.F.
thisform.visible=.T.
thisform.refresh

In Destroy for the main form I have:

application.visible=.T.

I'm obviously missing something. Any suggestions?

TIA!

Randy
 
 
 

Making VFP8 main program invisible in applications without making forms invisible?

Post by Chad Bourq » Thu, 15 Jul 2004 03:35:28

On Tue, 13 Jul 2004 18:25:04 GMT, Con *** Kano



Randy,

Check the form properties:

DeskTop = .t.
ShowWindow = 2 && As Top-Level Form

HTH,

--
- Chad

There are 2 types of people in the world:
* Those who need closure

 
 
 

Making VFP8 main program invisible in applications without making forms invisible?

Post by Congenital » Thu, 15 Jul 2004 03:57:56


It did! Thanks!

Randy


LOL!