General information
Category:
Forms & Form designer
>>Is there any way, in VFP 5.0, to create a form with no title bar? I'm trying to make a "splash" screen that will display while my program initializes since this takes some time. I'd like to get rid of the title bar on the window.
>
>One way to do it is to create the splash screen in a Container class. Say you call it cntSplashScreen You can pop it onto the screen in the following way...
>
>SET CLASSLIB TO whatever.vcx ADDITIVE
>WITH _SCREEN
> .AddObject("cntSplash", "cntSplashScreen")
> .cntSplash.Left = ( .Width - .cntSplashScreen.Width ) / 2 && Center splash screen
> .cntSplash.Top = (.Height - .cntSplashScreen.Height ) / 2
> .cntSplash.Visible = .T.
>ENDWITH
>
>and when you're done,
>
>RELEASE _SCREEN.cntSplash
>
>
>
>
>HTH!
> - Gino M.
Hey, GREAT idea! I can't do it that way though, because we hide that VFP main window immediately, so _SCREEN isn't visible. I didn't know, though, that you could add objects it. I'll keep that in mind. :)
Previous
Next
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