Re: Belated Thankyou

2008-02-25 Thread Joe Lewis Wilkins

Greetings, Kevin,

That's nice to know, since I often wonder about such things as I'm  
culling through all of my spam. (smile) It is pretty rare that  
anything totally escapes this list un-responded to. Now and then one  
needs to repost, but rarely. Frankly, my only complaint is that some  
of us are just a bit too verbose. (bigger smile) Am I the "pot"?


Joe Wilkins


On Feb 25, 2008, at 5:25 AM, Kevin Stallibrass wrote:


Hi,

I posted a question end of last year and thought that no one had  
replied.

Although I was watching carefully for a reply, I missed one from Jan
Schenkel which I have just stumbled upon. This gives me the solution  
I was

after so thank you Jan



Jan Wrote:






Hi,







I've build a standalone which simply adds a new line



of text to a file



located on an ftp site, then displays the entire



file in a text box.







It works fine but when I close the application,



windows holds on to the



process and I have to force quit it via task



manager.







[snip]







Regards







Kevin Stallibrass








Hi Kevin,



Revolution doesn't automatically quit when the alst

window is closed, if there are any 'pendingMessages' -

these are messages that are put onto the event queue

to be executed at a later time:

   send "TickleMePink" to me in 10 seconds

Are you using any 'send in ' constructs?



If your application is just one window, you can make

your life easy and add the following message handler

to your stack script:

##

on closeStack

 -- we don't want to quit when we close the window

inside the IDE

 if the environment is not "development" then

   quit

 end if

end closeStack

##



This way, when your stack window is closed, the engine

will effectively quit, even if there are pending

messages.



Hope this helped,



Jan Schenkel






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Belated Thankyou

2008-02-25 Thread Kevin Stallibrass
Hi, 

I posted a question end of last year and thought that no one had replied.
Although I was watching carefully for a reply, I missed one from Jan
Schenkel which I have just stumbled upon. This gives me the solution I was
after so thank you Jan

 

Jan Wrote:

 

 

> Hi,

> 

> I've build a standalone which simply adds a new line

> of text to a file

> located on an ftp site, then displays the entire

> file in a text box. 

> 

> It works fine but when I close the application,

> windows holds on to the

> process and I have to force quit it via task

> manager.

> 

> [snip]  

> 

> Regards

> 

> Kevin Stallibrass

> 

 

Hi Kevin,

 

Revolution doesn't automatically quit when the alst

window is closed, if there are any 'pendingMessages' -

these are messages that are put onto the event queue

to be executed at a later time:

send "TickleMePink" to me in 10 seconds

Are you using any 'send in ' constructs?

 

If your application is just one window, you can make

your life easy and add the following message handler

to your stack script:

##

on closeStack

  -- we don't want to quit when we close the window

inside the IDE

  if the environment is not "development" then

quit

  end if

end closeStack

##

 

This way, when your stack window is closed, the engine

will effectively quit, even if there are pending

messages.

 

Hope this helped,

 

Jan Schenkel

 

 

 

 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution