Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen = off
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00106117
Message ID:
00106556
Views:
29
>>I have read the knowledgr base about hiding the main vfox window using
>>
>>APPLICATION.VISIBLE = .F.
>>
>>This requires the first form to be a top level form.
>>
>>Also there is the config.fpw setting -> SCREEN=OFF
>>
>>But when I use this setting,(SCREEN=OFF) the application disappears off the screen, with no icon in the start bar. The only way to quit is to Ctrl-Alt-Del. This happens irrespective of the modal setting as well as the style setting( as top lev, in top lev etc.)of the first form.
>>
>>Is this peculiar to my system? It happens on a colleagues machine as well. Is there any setting I need to have?
>
>Bernard, you DO have a READ EVENTS in your code? If you remove the Screen=OFF setting and put APPLICATION.VISIBLE = .T. does you first form show up on the VFP screen?


Yes there is a READ EVENTS

In the main program as below

* main.prg

--
--
--
APPLICATION.VISIBLE = .F.
DO FORM FRISTFORM
READ EVENTS

--
--

The above code works for me, hiding the foxpro window but showing my form FIRSTFORM( which is MODAL and AS TOP LEVEL FORM.)

But if I use screen=OFF in the config.fpw the application runs but there is no icon in the start bar, I cannot see the active window and the only option is to Ctrl+Alt+Del and unload the exe.

Any ideas??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform