Place the Clear events in the same click-event code.
Due to the Read events, the form is released, and all events are handled,
but the event polling-'loop' isn't ended. 
This way the program is still running without any visual interface to
actually end it.

Furthermore, because it's a standalone exe now the QUIT command isn't needed
in the main program.

Sietse
SW-Software


-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens Joe Yoder
Verzonden: donderdag 17 juli 2008 14:32
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Simple app questions

Okay - I finally caught on that the API calls I'm making are "messing 
with the system."  When I disable the code that calls the APIs I can get 
the form to display but  when I exit the form via Quit (thisform.release) 
the form disappears from the screen but Task Manager reveals that my 
simple app shows up as an application and as a process still running in 
memory.  I need to kill both the app and the process before I can 
overwrite the .exe with a new compile.

Here is the main program:
DO FORM form1.scx
READ events
CLEAR events
QUIT

form1 has a Quit button with "Thisform.release" in the click event.

What do i need to do to have the code exit cleanly?

TIA - Joe


What needs to be in the 
On Thursday, July 17, 2008  5:49 AM, Sietse Wijnker wrote:
>
>Date: Thu, 17 Jul 2008 11:49:27 +0200
>From: Sietse Wijnker
>To: [EMAIL PROTECTED]
>cc:
>Subject: RE: Simple app questions
>
>Is it a top level form?
>If not, make it so.
>
>Regards
>Sietse Wijnker
>SW-Software
>
>
>-----Oorspronkelijk bericht-----
>Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Namens Joe Yoder
>Verzonden: donderdag 17 juli 2008 1:32
>Aan: [EMAIL PROTECTED]
>Onderwerp: RE: Simple app questions
>
>Okay - so now I get an app that displays nothing.  I can see it is
>running with the task manager and kill it there.
>
>What do I need to do to get the form to display?
>
>TIA - Joe
>
>On Wednesday, July 16, 2008  7:02 PM, Sietse Wijnker wrote:
>>
>>Date: Thu, 17 Jul 2008 01:02:51 +0200
>>From: Sietse Wijnker
>>To: [EMAIL PROTECTED]
>>cc:
>>Subject: RE: Simple app questions
>>
>>Hi Joe,
>>
>>Compile to an .exe to run standalone.
>>When you compile to an .app the IDE is loaded prior to running the app.
>>The included config.fpw in the .app is then ignored by the IDE
>>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL 
PROTECTED]@sw-software.nl
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to