Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide main screen and let a form visible
Message
De
12/04/2000 14:10:29
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00358815
Message ID:
00358825
Vues:
12
Hi Jose,

The line SCREEN=OFF should be in the text file CONFIG.FPW in the working directory. This will prevent the initial display of the screen.

The command _screen.visible=.f. should be placed in your Main.prg. This keeps the screen from displaying.

For the forms to work correctly, the Main form should have its ShowWindow property set to 2 - as Top Level Form. All other forms should have their ShowWindow property set to 1 - IN top level form. So that the other forms can be moved around, their Desktop property should be set to .T. If you want to prevent loads of forms being open at the same time, the forms (other than the main form) should have their WindowType property set to 1 - Modal.

HTH

Liam
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform