Re: Newbie: How to tell where a form has been unloaded
- From: dpb <none@xxxxxxx>
- Date: Tue, 11 Sep 2007 12:25:49 -0500
tom wrote:
I have to communicate with 2 forms from one thread. The one thread
needs to manage data acquistion hw and pump data out to the 2 forms.
So I am using Main as the one central thread, creating the form
objects in main. To pump data into the forms, I am providing a public
subroutine in the forms that Main can call.
Main gets data from the hw 100 times a second and calls the public
form subroutines.
But, the user can close one or both of the forms. Main will have to
stop pumping out data when the form is unload, but how to I detect
that a form is unloaded in Main?
Use the form Unload event.
Reading the section in the online help on "Creating a User Interface" in the Programmer's Guide will give an overview that is useful...
--
.
- Follow-Ups:
- References:
- Prev by Date: Re: Newbie: How to tell where a form has been unloaded
- Next by Date: Re: Newbie: How to tell where a form has been unloaded
- Previous by thread: Re: Newbie: How to tell where a form has been unloaded
- Next by thread: Re: Newbie: How to tell where a form has been unloaded
- Index(es):
Relevant Pages
|