Hi Randy
I put the send "set state on" to me in 3 seconds in order to replicate what
was happening in my application in a simple stack to see if the issue would
happen with simple commands in one button and it did.
What actually happens in the application is that a command is sent then a
callback is received. Before the process command is called I set the state
to off. Once the callback is received I can set the state back to on.
on mouseUp
setState "off"
startMyProcess
end mouseUp
on MyProcessCompletedCallback
setState "on"
end MyProcessCompletedCallback
on setState pState
lock screen
if pState is "on" then
enable me
set the name of me to "on"
else
disable me
set the name of me to "off"
end if
unlock screen
end setState
I am trying wait with messages at various points in my application script
but it does not resolve it in this case.
Martin
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Button-does-not-receive-mouseUP-after-disabling-then-enabling-button-tp4695119p4695133.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode