Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide FoxPro Screen, but....
Message
De
01/12/2004 15:32:18
 
 
À
01/12/2004 15:17:52
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00966177
Message ID:
00966186
Vues:
8
>Greetings!
>
>I have several Utility "Apps" that have a user interface (in VFP8 SP1). I don't need the VFP toolbars or menus since these utilities are precise and specific to one or two simple tasks. What I don't like is that these apps run (as EXEcutables) inside the VFP screen.
>
>Note that I have read all the ideas and thoughts, etc. including but not limited to:
>
>in config.fpw (little known trick is that you can include this file in your project and compile it)
>SCREEN=OFF
>
>in your form property
>showwindow = 2
>desktop=.t.
>
>I have two small applications that both have two modal forms. Reason: if the user cancels out of one, I don't want the second to appear. When I put the above code into my applications and then double-click on them in the file explorer (they are in the correct directory), nothing happens!
>
>If I delete the config.fpw file from the project and reset the form settings to showwindow = 0 (default) and desktop = .F. (default) and re-compile. Works perfectly fine EXCEPT for the visible VFP window in the background.
>
>Something else must be needed in order to make this work. And, I have several more "utility" apps that would surely benefit from this.
>
>Any suggestions as what else I need to do to make that VFP screen go away???
>
>Thanks!
>
>
>NOTE: Likewise, I have a "utility" app that has no user interface and when I include the config.fpw file in that project, it runs fine and does NOT display at all, which is what I wanted in that case ONLY!

As Mike has told you, top-levels can't be modal. Your ShowWindow=2 and the CONFIG.FPW SCREEN=OFF should be all you need. No need for Desktop=.t.
[update] You will need a READ EVENTS (and a way out).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform