Home > Archive > FoxPro Help and Support > June 2005 > How to exist the form automatically?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to exist the form automatically?
Catherine

2005-05-30, 3:24 am

Dear all,
I want run the executable on the server and exit the form automatically.
However, after the form opened and the process has done, the form hasn't
exited automatically. I have tried 'thisform.release', 'release form1', but
still haven't exit the form. The closable is already set to .T.

Why?

Thank you!
aNON

2005-05-30, 7:24 am

"Catherine" < Catherine@discussion
s.microsoft.com> wrote in message
news:0F920A10-50AC-414A-88CE- 69B54CFA8E62@microso
ft.com...
> Dear all,
> I want run the executable on the server and exit the form
> automatically.
> However, after the form opened and the process has done, the form hasn't
> exited automatically. I have tried 'thisform.release', 'release form1',
> but
> still haven't exit the form. The closable is already set to .T.
>
> Why?
>
> Thank you!


If you have a READ EVENTS you will need to issue a CLEAR EVENTS once you
have finished with the form.


Paul Lee

2005-05-30, 9:24 am

=?Utf-8?B?Q2F0aGVyaW5l?= < Catherine@discussion
s.microsoft.com> wrote in
news:0F920A10-50AC-414A-88CE- 69B54CFA8E62@microso
ft.com:

> Dear all,
> I want run the executable on the server and exit the form
> automatically.
> However, after the form opened and the process has done, the form
> hasn't exited automatically. I have tried 'thisform.release', 'release
> form1', but still haven't exit the form. The closable is already set
> to .T.


If you put ThisForm.Release() in the form GotFocus event it will release
the form. Getfocus is after form load and init events where you can
do various things before release. Perhaps if you indicate specifics
of what you want to do it would be easier to help you.

-----------------------------------------------------------------
Paul Lee ........... Abri Technologies ......... http://abri.com/
'Recover' - top rated FoxPro file repair utility.
-----------------------------------------------------------------
Catherine

2005-06-01, 3:25 am

Thank you all.

"Catherine" wrote:

> Dear all,
> I want run the executable on the server and exit the form automatically.
> However, after the form opened and the process has done, the form hasn't
> exited automatically. I have tried 'thisform.release', 'release form1', but
> still haven't exit the form. The closable is already set to .T.
>
> Why?
>
> Thank you!

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com