On Sat, Feb 27, 2016 at 3:32 AM, Paul Dupuis wrote:
> I what seems to me is a "bug" related to messages and model dialogs in
> LiveCode.
Sorry I do not know how to link old post but if you search the list for:
What is wrong with this Script logic? dated 1/11/13
You will find a recipe (tested
, Feb 26, 2016 5:27 pm
Subject: Re: A possible messaging and modal dialog bug...
Craig,
If you are referring to the note that says:
---
Important! Specifying a time can affect the order in which statements
are executed. If you don't specify a time, the message is sent
immediat
On 2/26/2016 4:08 PM, Paul Dupuis wrote:
What is unexpected is that the answer statement in the script of btn 2
is NEVER executed! This seems like a BUG.
What must be happening is that when the answer dialog is up (from btn 1)
and equivalent of 'wait with messages" is occuring, so btn 2 then get
Craig,
If you are referring to the note that says:
---
Important! Specifying a time can affect the order in which statements
are executed. If you don't specify a time, the message is sent
immediately, and any handler it triggers is completed before the rest of
the current handler is e
Paul.
The dictionary warns against sending messages in time. See the notes at the
bottom. If you lose that portion of your handler, the action proceeds normally.
Craig Newman
on mouseUp
send "dataChanged" to btn 1 in 5 milliseconds
send "dataChanged" to btn 2 in 10 milliseconds
end mou