I ALWAYS assumed a disabled button means disabled - no events accepted , seems we were all mistaken. Also I noticed that although the"submit" button is hidden before the wait there is quite marked delay before it is hidden, it should be instantaneous because it is before the delay/wait. So somehow a wait (with or without messages) delays the preceding hide button command (more ghosts??).
The FIX
I renamed the button names from XYZ to more sane names so that the men in white coats didn't turn up

I then sent the disable "button pick" in a few ticks (almost instant) and that fixed the "ghost" click working on a disabled button.
btw this is on LC 6.7 so it must be an ongoing bug.
I can see how for most people it won't be a problem but young children and especially Autistic children will press buttons whether disabled or not.
Code: Select all
on submitAnswer
hide button "submit"
send "enablepick" to me in 3 seconds
--wait 3 seconds
--enable button "pick"
end submitAnswer
on pickQuestion
show button "submit"
send "disablepick" to me in 10 ticks
--disable button "pick"
end pickQuestion
on DisablePick
disable button "pick"
end DisablePick
on enablepick
enable button "pick"
end enablepick