The DefaultButton

dunbarx at aol.com dunbarx at aol.com
Thu Feb 13 00:59:45 EST 2014


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 <bobsneidar at iotecdigital.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
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
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list