Hi all. 

I've decided to start in on behaviors now as I have so much code that is 
effectively identical. So I took the code from a menu/button with a menuPick 
handler and put it in another button, then set the behavior of the first button 
to the long id of the second. I then set a breakpoint in the behavior script. I 
still have a menuPick handler in the first button to handle special case menu 
items for that card, but I commented out the code that is common between them. 

The trouble is, selecting the menu item does not trigger the behavior. I tried 
setting pass menuPick in each one, but still no bueno. So which one gets the 
message first/at all? The behavior or the actual button?

Bob S



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to