>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.