On Jun 24, 2004, at 7:36 AM, [EMAIL PROTECTED] wrote:

In my program, I have a "while" function that executes code. I have also a
button, which has the event "on mouseUp". The problem is that when the
instructions inside the loop are executed, the code inside the event "on
mouseUp" is not executed when we click on the button. I didn't see any
interruption functions that could wait for events and permit the code
inside these events to be executed if the user clicks on one button for
example.


Any idea ?

Try using 'wait with messages' in the loop for an immediate solution.

For longer term solutions and new designs consider approaches that do not need long loops. You might get some ideas from the "message mechanics" primer here:

   http://www.swcp.com/dsc/revstacks.html

Dar Scott

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to