Behavior not working??

André Bisseret andre.bisseret at wanadoo.fr
Fri Jul 29 03:37:34 EDT 2011


Bonjour Bob,

Good advice!

That happened to me several times when assigning behaviors from the message box, because generally I set the behavior of THIS cd to the long id etc.
Not always but sometimes I think to set the behavior of cd "n" of stack "suchstack" which avoids the error ;-)

André

Le 28 juil. 2011 à 19:56, Bob Sneidar a écrit :

> I think I know what happened. I may have has a window open from the unmentioned plugin when I issued the command to set the behavior. I may have inadvertently set the behavior of the plugin's open card to that of my own button! ACK! I can simply reinstall a copy of the plugin. 
> 
or set the behavior of cd n of the plugin to empty

> Note to everyone then, be sure you have selected what you think you have selected before willy nilly assigning behaviors. 
> 
> Bob
> 
> 
> 
>> NVM I removed a suspected plugin which shall remain nameless and behaviors seem to be working again. 
>> 
>> Bob
>> 
>> 
>>> Hi all. 
>>> 
>>> I set the behavior of a card to the long id of a button on the first card of a stack. In that button I have an openCard handler. At first it worked famously, but now when I call openCard from the message box on the card with the behavior set, I get an error that it cannot find the handler openCard. I put the behavior of the card in the message box and it is indeed set to the long ID of that button, but for whatever reason the behavior is not getting triggered. 
>>> 
>>> I set the behavior of the card to empty and then back to the behavior of the button, but no joy. Any ideas?
>>> 
>>> 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