Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement