Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide FoxPro Screen, but....
Message
From
01/12/2004 15:43:43
 
 
To
01/12/2004 15:17:52
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00966177
Message ID:
00966194
Views:
8
A form cannot be both top level and modal. You'll have to trap for the user cancelling the first form with some code.


>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!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform