Handy behavior snippet

Bob Sneidar bobsneidar at iotecdigital.com
Wed Oct 11 12:14:12 EDT 2017


BTW this reminds me of a feature request I'd like to see implemented at some point. When in browse mode, command-option-clicking a disable button will NOT edit it's script. It will edit the script of the CARD instead, presumably because a disabled button does not receive a mouseUp in browse mode (odd that it would in pointer mode). Anyone else think this would be useful? 

Bob S


> On Oct 11, 2017, at 09:10 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> That edits the script of the actual button. It doesn't edit the script of the behavior of that button. That is what my snippet does. You put it into a mouseUp handler of the BEHAVIOR script. 
> 
> Bob S
> 
> 
>> On Oct 11, 2017, at 09:09 , Roger Guay via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> On a Mac you just hold the option and command keys down and click the control to access it’s script. Isn’t there an equivalent key combination for Windows?
>> 
>> Roger
> 
> _______________________________________________
> 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