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 12:01:46
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:
00042369
Vues:
35
>>>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.

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

Glad it stimulated some ideas. Actually, I may have an answer for you. Nick Neklioudov's trick was also great... since you're hiding the main FoxPro window (how are you doing that??), you can open the form on the desktop by setting .ShowWindow = 2 . This will open the form as a top-level form on the desktop! So NN's code becomes:

Set the Caption property to ""
Set the ControlBox property to .F.
Set the MaxButton property to .F.
Set the MinButton property to .F.
Set the Movable property to .F.
Set the ShowWindow property to 2

That should do it!
- 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