Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continouos visibility of a splash screen
Message
De
14/08/1997 17:42:31
 
 
À
14/08/1997 13:21:42
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00044482
Message ID:
00044779
Vues:
33
Hi Edward!

I have to change my opinion slightly. Whitout the screen maximazing in the backround, the screen flashing is less disturbing. But I have to make the splash screen to visible, because it dissappears:

_Screen.visible=.t. &&this line dissappears the splashwindow !
mysplash.show()
_screen.windowstate=2 &&this line dissappears the splashwindow !
mysplash.show()

Now, I gave up the fight. I use the splash window like Netscape. It is visible during the initialization, but the main window disappears the splash screen.

BB
Thank you for your helping.


>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform