realbasic-nug
[Top] [All Lists]

Re: what can occur during a long method?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: what can occur during a long method?
From: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Thu, 29 Mar 2007 18:15:22 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <000001c76efb$06cccc00$6401a8c0 at MikeBrHP> <CDCCF376-233B-4DFD-A953-7C27D7D2964B at declareSub dot com> <77124270703290840o1108ee19r433c680ba602b2e8 at mail dot gmail dot com>
Le 29 mars 07 à 17:40 Soir, Peter K. Stys a écrit:

> At the same time, most often i want to run a batch operation like
> John, and all i want is the progressBar or a staticText value to be
> updated.  So I use App.DoEvents, with no obvious issues.

The user may quit your app while using app.DoEvents.
e.g using Command-Tab to select your app and then Command-Q to quit it.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>