Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Jul 6, 2000



Application Security Testing: An Integral Part of DevOps

Visual FoxPro 6

With an application compiled into an EXE, why when I select 1 topic, enter into it, and exit do I get booted out of FoxPro to the main Windows screen?

You need to create an event loop, a loop that holds VFP in memory until it is time to allow the application to end. VFP has two commands that make this very simple: READ EVENTS and CLEAR EVENTS.

At the point in your application when you are ready to accept user input (everything is ready to go), issue a READ EVENTS command:

*-- my main program
DO FORM myform
Then, in the button or menu option that closes the application, issue a CLEAR EVENTS command.
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date