How to select behavior on another card in LC8

Paul Hibbert paul at livecode.org
Wed May 25 15:29:39 EDT 2016


Try this:

Go to card 2
Open the Project Browser and expand the view for card 1
Right click on the target button of card 1 in the PB and choose ‘Property Inspector’
The PI for the button on card 1 will now allow you to link the behaviour to the button on cards 2

HTH

Paul

> On May 25, 2016, at 12:15 PM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 
> LC 8 GM
> 
> scenario:
> 
> create card "Selections" --> card 1
> create card "behaviors" --> card 2
> 
> on card 1  create  several buttons
> on card 2  create one button which will server as the behavior for the buttons on card one
> 
> go to card 1
> select a button, click on the behaviors icon in its property inspector
> 
> The only buttons that appear as choices are the ones on card 1
> 
> I thought (could be wrong) in an earlier version… there was a way to navigate to buttons on other cards to choose them as behaviors, but I'm not seeing any way to choose the button on card 2 as the behavior for the button on card one currently being inspected… you can go down to "stack" but this doesn't expose any other cards/controls…and actually does an odd thing. you can set the behavior to a stack name. I think that's just wrong… right?
> 
> what am I missing?  At this point we have to use the old tedious way of manually getting the long ID of the button on card 2 and then pasting this into the behavior
> 
> submitted already as a bug:  http://quality.livecode.com/show_bug.cgi?id=17732
> 
> please add anything else relative to setting behaviors that needs fixed
> 
> tks
> 
> BR
> 
> _______________________________________________
> 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