Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running the app from within foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090589
Message ID:
00091694
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform