Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Problem in an EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00205041
Message ID:
00206327
Vues:
18
>I'm pulling my hair out trying to figure out this simple problem.
>
>What i want is my main menu form to run without the visual foxpro window under it.
>
>here is what i did,
>
>i set the forms properties:
>desktop=.t.
>ShowWindow= 2 - As Top Level Form
>WindowType= 1 - Modal
>
>i have a program that loads it up that says
>_screen.visible=.f.
>do form mainmenu
>read events
>_screen.visible=.f.
>
>--------------------------------------------------------
>
>some wierd things are happening
>1 - when i run this from the command box and close the main menu to exit; the program seems to hang up on the read events
>
>2 - when i run compile this into an exe and run it and close the main menu the visual the same thing happens i close the form, the main foxpro window appears with nothing in it and you can't get rid of it.
>
>
>HHHHHHEEEEEEEEELLLLLLLLLLLLLPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!
>
>scott

Scott,
Check out Sdiform.scx in vfp\samples\solution\forms. I built a small app including a menu and toolbar following this example and my app functions perfectly.
Robert Baker
Robert - Zxytek
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform