Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form flashed and disappered
Message
De
29/07/2002 13:22:56
 
 
À
26/07/2002 10:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00682995
Message ID:
00683612
Vues:
26
I think the problem is the line:

PROCEDURE Main

If you remove this line, the main program will actually run (assuming that it is marked as the main program in the project manager).

>Hello,
>My form runs fine when it is in the VFP system.
>But when it is compiled into an exe file
>and run in Windows, it flashes and disappeares.
>Anybody knows why? Thanks for any help.
>
>
>Below is my "main.prg" to call the form. The form's windowstate = modal
>*---------------------
>PROCEDURE Main   && you need to remove this line
>CLOSE ALL
>CLEAR ALL
>_screen.visible = .F.
>DO FORM R_Form NAME main LINKED
>READ EVENTS
>CLOSE DATABASES
>CANCEL
>SET NOTIFY ON
>RETURN
>*---------------------------
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform