Modal Issue
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Jul 12 12:31:11 EDT 2010
Hi Andrew,
Yes, you are right, any script that runs and sets a focus after a
modal stack opens can cause problems. I have had this too with answer
dialogs. I hope that RunRev will provide a fix for this problem some
day.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce
On 12 jul 2010, at 18:20, Andrew Kluthe wrote:
>
> In trying to explain the problem, I found a fix for it.
>
> I am not sure what it is EXACTLY that caused it.
>
> But in the payment amount field, I round the data off to two
> decimals and
> validate it on closeField.
>
> The problem was occurring only when the cursor was in this field
> (closeField
> hadn't sent yet).
>
> My guess is that opening the modal caused closeField to be sent
> after the
> modal's launch? This might set the focus back onto the payment stack?
>
> Does this sound about right? would it help to lock messages around the
> launch of the modal?
>
> For now my fix is just to send closeField to this field before
> calling any
> modal up.
>
More information about the use-livecode
mailing list