Thank you for your correction, Mark, but please understand that I had searched for the string "flushEvents" before posting and came up empty. In which two posts was it mentioned, and more on-topic, why is this useful function not available for iOS?Mark wrote:FlushEvents is incompatible with iOS (this thread is in the iOS Deployment forum). This was mentioned two times earlier in this thread.
No way to prevent clicks on a button
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10044
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: No way to prevent clicks on a button
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: No way to prevent clicks on a button
Richard,
That's weird, if I search for "flushEvents" on the page, Firefox finds it. Don't ask me why this feature isn't available in iOS. Ask Kevin c.s.
Mark
That's weird, if I search for "flushEvents" on the page, Firefox finds it. Don't ask me why this feature isn't available in iOS. Ask Kevin c.s.
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: No way to prevent clicks on a button
Thanks anyway for your contribution Richard, though not in this case, I still want to read up on this flushEvents function.
-
- VIP Livecode Opensource Backer
- Posts: 10044
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: No way to prevent clicks on a button
If it seems useful you may also consider filing a bug report to have that language feature enabled for mobile platforms; I couldn't find any outstanding issues for flushevents reported there:Mag wrote:Thanks anyway for your contribution Richard, though not in this case, I still want to read up on this flushEvents function.
http://quality.runrev.com/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: No way to prevent clicks on a button
Thanks Richard.
PS
Just to add a new information...
Card 1
Button "go to card 2"
Button "cover button" -- it covers the button below while the mergAV control is created
Card 2
Button "3"
Clicking 4 times in the location of button "go to card 2" when the button "cover button" is displayed happens this:
As soon as the control is created, you go in the next card and button 3 gets mouseUp 3 times
PS
Just to add a new information...
Card 1
Button "go to card 2"
Button "cover button" -- it covers the button below while the mergAV control is created
Card 2
Button "3"
Clicking 4 times in the location of button "go to card 2" when the button "cover button" is displayed happens this:
As soon as the control is created, you go in the next card and button 3 gets mouseUp 3 times
Re: No way to prevent clicks on a button
Hi,
I don't think this is a LiveCode bug. This much more seems like a Monte bug
Have you reported this issue to him already? He might be able to give you some more insights into what is happening. Something seems to be locking the messages until after the control is created.
Best regards,
Mark
I don't think this is a LiveCode bug. This much more seems like a Monte bug

Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: No way to prevent clicks on a button
Hmm... Thanks Ivan for alerting me to this thread.
I'm not positive there's a bug here. It's standard engine behavior for messages to be queued while blocking commands are running.
It's a long thread and I might have missed something important but I'm wondering what the issue is with hiding the controls until the command returns. If you can isolate the problem then please send me a stack so I can test here.
I'm not positive there's a bug here. It's standard engine behavior for messages to be queued while blocking commands are running.
It's a long thread and I might have missed something important but I'm wondering what the issue is with hiding the controls until the command returns. If you can isolate the problem then please send me a stack so I can test here.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: No way to prevent clicks on a button
Monte,
There is no reason to think that any commands are blocking the mouseDowns/mouseUps, except for your external. Perhaps you want to have a look at the project?
Best,
Mark
There is no reason to think that any commands are blocking the mouseDowns/mouseUps, except for your external. Perhaps you want to have a look at the project?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: No way to prevent clicks on a button
I'm more than happy to take a look Mark once I can define the problem. At the moment it appears that the problem could be stated as "a blocking command displays standard blocking behavior". So I'm not sure what to fix there.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/