Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating VFP 5.0 forms with no title bar
Message
 
To
30/07/1997 11:28:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00042338
Message ID:
00042359
Views:
32
>>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
Map
View

Click here to load this message in the networking platform