Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating VFP 5.0 forms with no title bar
Message
De
30/07/1997 11:28:38
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00042338
Message ID:
00042344
Vues:
34
>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.
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform