Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dissapearing forms.
Message
 
À
11/11/2002 13:37:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00721155
Message ID:
00721546
Vues:
9
>I have weird problem that has just popped up. When running my program( or any of the fomrs on their own) inside vfp 7.0 everything seems fine. But when I compile the .exe and run it on its own. It runs, opens up the first form and then shuts down. I've made no changes to the form I just recompiled them after making a change to a database and the problem started. I've run in circles enough help please.

You need a so called "main" program that opens your forms when you build an exe.
* Main.prg
do myform
read events
* This happens when a "closing method" issues CLEAR EVENTS
close all
release all
cancel
Review the CLEAR EVENTS syntax. When your application encounters a clear event, the code after READ EVENTS is executed.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform