General information
Category:
Coding, syntax & commands
>>>>Hi,
>>>>
>>>>SCREEN=OFF in CONFIG.FPW hides my forms in addition to
>>>>FoxPro's desktop screen.
>>>>
>>>>I know the application is running because I can see it
>>>>listed on the task menu.
>>>>
>>>>Environment: VFP 5 on Windows'95
>>>
>>>
>>>Are your forms set to be "on desktop"?
>>
>>***********************************
>>
>>Thank you Craig & Michel..
>>
>>Acting on Michel's tip I modified my calling program with those
>>_screen lines. There should be a way to get rid of FoxPro DeskTop
>>completely. Anyone?
>>
>>*-------begins
>>
>>SET SYSMENU OFF
>>
>>_screen.width = 0
>>_screen.height = 0
>>_screen.autocenter = .t.
>>_screen.maxbutton = .f.
>>_screen.visible = .t.
>>
>>DO FORM AARON3 && a formset with DeskTop property
>> && .. of all forms set to .t.
>>READ EVENTS
>>ON SHUTDOWN
>>SET SYSMENU TO DEFAULT
>
>I did an application where slideshows were being displayed in Visual FoxPro. I needed the same thing. One option from the menu was calling the display form which was displaying pictures on a full black background.
>
>BackColor=0,0,0
>Caption=''
>Closable=.F.
>ControlBox=.F.
>MinButton=.F.
>Movable=.F.
>
>In the Init()
>
>ThisForm.WindowState=2
>ThisForm.BorderStyle=0
>
>Then, in the Activate(), you can do what your application should do.
Denny,
If all you wish to do is to only see the form you are calling from your setup PRG then all you should need to do is
set the ShowWindow property of the form you are calling, AARON3, to 2-As Top-Level Form. You should be
careful that any other forms that you call subsequently must have a ShowWindow property of
1-In Top-Level Form or they will also become invisible, i.e. they will be contained within the invisible VFP
desktop.
I hope this is of use. I have used this on several occasions to provide my application with a more
professional look, e.g. an initial splash screen when loading the application.
Many regards,
Roger Dunbar.
Equifax (UK).
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only