Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide main screen and let a form visible
Message
From
12/04/2000 14:10:29
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
12/04/2000 13:52:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00358815
Message ID:
00358825
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform