Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continouos visibility of a splash screen
Message
From
14/08/1997 13:21:42
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
 
 
To
13/08/1997 17:58:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00044482
Message ID:
00044682
Views:
35
>Hi Edward!
>
>Since my earlier letter(?), I have found the cause of the problem. I set the windowstate property of _SCREEN to 2 (maximize). If the _Screen is visible, this
>parameter change disappear the splash screen (_Screen will be the top most window), and if the _screen is not visible at that moment, when you set it to visible, _Screen will be the top most window. Strange!
>So I donnot change the windowstate till I donnot want the splash screen to disappear.
>
>Any comment?
>
>BB
>
>>>Hi Edward!
>>>
>>>Thanx for your answer, but I checked what you suggested, but these were set as you wrote.
>>>
>>>BB
>>>
>>>
>>>>>Hi all!
>>>>>
>>>>>The problem is:
>>>>>
>>>>>I have a VFP5.0 app in exe. When my exe starts, fox destktop doesnot show because the SCREEN=OFF row, in config.fpw.
>>>>>In the first program line I make a splash screen, with Do Form. (it works fine.)
>>>>>I make all setup on my enviroment and make the main vfp window visible with _SCREEN.Visible=.T.
>>>>>But after it, the splash screen disappears. If I issue MySplash.show(), it shows the window again, but there is a short period, while the splash screen is not visible. I want the main fox window appear "smootly" "behind" my splash screen, and later I release it, but I don't want VFP to hide my Splash screen, with the main window.
>>>>>(I want my Splash screen to work like in other MS softwares, like WORD, EXCEL.)
>>>>>Has anybody an advice for me? TIA
>>>>>
>>>>>BB
>>>>
>>>>Hi Bela:
>>>>
>>>>Make sure the windowType property is set to 1-Modal. Also make sure AlwaysOnTop property is set to .T.
>>>>
>>>>Ed
>>
>>Bela:
>>
>>I have done this a little differently, but not enough where I would think that it would make a difference. What I have done was make my splash screen a class. In the startup program I instanciate the class before anything else with CREATEOBJECT(). Then I .SHOW() this object. When I am ready, I change the Fox screen visible property to .T. If I require user entry before anything moves on, I make the splash screen Modal and set AlwaysOnTop to .T. If it is just an introduction screen, like Excel or Word, I make the Window type Modeless. Modal will keep the program from progressing until that window is closed, but if I select Modeless, the form will seamlessly appear behind my splash screen.
>>
>>Ed

Hi Bela:

I wouldn't have guessed that setting _SCREEN to Maximize would have made any difference. In my screen configuration code, I maximize the screen using the old method: ZOOM WINDOW "SCREEN" MAX rather than setting a property, and I have no problem. This wouldn't be the first oddity I've run into though. Glad you are up and running.

Ed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform