Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating EXE
Message
De
22/03/2013 15:09:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Creating EXE
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01569072
Message ID:
01569072
Vues:
83
I'm missing something basic and can't quite come up with it.

I created a project with the following program set as main
       ... some preliminary SETS

oData = NEWOBJECT("app_data_env","progs\data_env.prg")
SET DATASESSION TO oData.datasessionid
oDataClass = NEWOBJECT("dataclass","libs\spotlightclasses")

_vfp.Caption = "Build Hardware Tray"
_SCREEN.WindowState = 2

DO FORMS forms\frmtouchbuildtray WITH oData,oDataClass
READ EVENTS

MESSAGEBOX("Main Form Done")

QUIT
The form starts up correctly and executes correctly.
There is a command button (cmdExit) with the following
CLEAR EVENTS
thisform.Release
The QueryUnload event has
thisform.cmdExit.Click()
When I click on cmdExit the form disappears but the main VFP window stays active. I don't get the "Main Form Done" messagebox and trying to close the main VFP window gets the "Cannot Quit VFP" message.

What have I missed????

Thanks to all............Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform