Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running the app from within foxpro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00090589
Message ID:
00091694
Vues:
38
>Michelle,
>If you used READ EVENTS in your application, better use CLEAR EVENTS to properly exit the program not CANCEL. Make it sure that after READ EVENTS issue SET SYSMENU TO DEFAULT, CLOSE ALL, CLEAR ALL.
>
>**main.prg
>.
>.
>program code here
>.
>.
>
>DO mymenu.prg
>READ EVENTS
>CLOSE ALL
>CLEAR ALL
>SET SYSMENU TO DEFAULT
>
>Your MENU.prg should have a BAR with command CLEAR EVENTS.

Jess,
Issuing CLOSE ALL and CLEAR ALL will close any databases which were open before calling the exe. If the user opens a database then calls the exe, they will then have to reopen the database(s) - if they have done any complex relations, they will have to re-do those. This is where the CREATE/SET VIEW comes in. Remember the 11th commandment - Thou shalt not upset the user.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform