Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding a Foxpro application on startup
Message
From
04/10/2000 17:25:45
Josh Fedke
National Financial Corporation
Milwaukee, Wisconsin, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Hiding a Foxpro application on startup
Miscellaneous
Thread ID:
00425044
Message ID:
00425044
Views:
100
Hello:

I am trying to hide a foxpro application upon startup. I am then using a tray icon to unhide it. The problem is that the form won't hide on startup. I have found an article on MSDN article (Q136185) stating "

After a form or formset is hidden, Visual FoxPro activates the last active object. If no objects were active before the formset became active, the main Visual FoxPro window becomes active. Consequently, if you try to hide the main FoxPro window or set its Visible property to false when there were no prior active objects, Visual FoxPro has no place to go. As a result, the Hide method and Visible property for _Screen are disabled.

"

I have a button that simply sets _screen.visible to .f. and this hides the form. I want the form hidden on startup, though. Is there a way around this? Is this a limitation of Foxpro? Obviously there are other applications that start hidden with just a system tray icon. Is this possible in VFP. I'm using 6.0 btw. Thanks in advance.



-Josh
Next
Reply
Map
View

Click here to load this message in the networking platform