Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Without FoxPro Windows?
Message
De
08/12/1998 13:45:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00151140
Message ID:
00165237
Vues:
15
>>>Is there any possibility to show only form's window without showing main Visual Foxpro window?
>>>
>>>Giedrius
>>
>>You can set _screen.visible to .F. and make sure that all your forms have "ShowWindow" property set to "top level form" or "in top level form"
>>The foxpro screen remains visible in development mode, but will disappear in executable. So you must check this or you might find your app running "invisibly"!
>>
>>HTH
>
>It's from vfp help:
>
>"Setting the Visible property for the _SCREEN system variable has no effect in Visual FoxPro for Windows." :(
>How make vfp window to dissapear? On task bar too.

Under VFP 5 or later, placing SCREEN=OFF in CONFIG.FPW makes the application start with a ShowWindow mode of 0 - that's hidden, with no task bar entry or visible form. This is not an option available under FPW 2.x or VFP 3.

The main VFP window will remain completely invisible unless you do something like _SCREEN.Visible = .T. in your application at some point. If you always launch your application in it's own top-level form and never activate the main window, you should be fine. ALternatively, you can change the properties of _SCREEN and then make it visible; once you've changed the caption and icon, there's no way to really tell it once was the main FoxPro window anyway...

If you make the main FoxPro window visible in any ShowWindow Mode other than 0, it'll have a taskbar entry. Once you've made it visible, you need to make an API call to make the taskbar entry go away again.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform