>>>hi all
>>>
>>>how can i make in VFP 5.0 to take a form ( or a Bitmap?) that runs while the application start, you know, like when i star some program like word or excel etc.
>>>it appears a logo ina a form and still some secons while all the program start.
>>>
>>>are any way to make something like that in Vfp 5.0 ???
>>>
>>>thanks in advance!
>>
>>Take a look at the splash screen file in the download section.
>
>George,
>
>I don't know whether it was just me, but when I tried to use the splash screen it didn't seem to let the program load up in the background. i.e. it stopped the program loading for X seconds while the splash screen was displayed, then carried on.
>
>Any thoughts,
>
>Mike.
Mike,
I haven't used this particular version, so I can't comment on exactly what's going on there. What I can comment on is the general technique that should be used.
Naturally, the form should be modeless, so that the application can initialize while it's (the splash screen) being displayed. There's no way around some time being lost while the form itself initializes. The general format of the code may look something like:
oSplash = CREATEOBJECT('SplashScreen')
oSplash.Show(2)
oSplash.Release
_SCREEN.Visible = .T.
George
Ubi caritas et amor, deus ibi est