Bob.

I made a new stack with one button on it. Put a mouseUp handler in it. In msg:



send "mouseUp" to the defaultbutton of this card



Got what I expected.


Craig



-----Original Message-----
From: Bob Sneidar <[email protected]>
To: How to use LiveCode <[email protected]>
Sent: Wed, Feb 12, 2014 9:44 pm
Subject: The DefaultButton


I have a button whose properties show that the defaultButton property is true. 
However a script that I have which sends mouse up to the defaultButton of this 
card throws an error. Upon further investigation, I run “put the defaultButton 
of this card” in the message box and get empty, same as in my script. 

Can someone please ‘splain to me how it is possible a button on a card can have 
the defaultButton property set to true, and this condition can occur?

Also, if I uncheck the defaultButton checkbox and re-check it, the damn thing 
works?? This has GOT to be a bug!

Bob
_______________________________________________
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

 
_______________________________________________
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

Reply via email to