if you don't specify the stack it uses the "defaultstack" ... so is it returning false even if the button is not there?
On Tue, Apr 3, 2018 at 3:59 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > I have noticed that if I reference an object on a different card while > that card is not the current card, I have to use the full path to that > object. For instance: > > put the hilited of button "btndbprimary" of card "Database Setup" > > this will return true if card "Database Setup" is the current card, but > will return false if it is not, even though the button is hilited. > > However, > > put the hilited of button "btndbprimary" of card "Database Setup" of stack > "Forms Generator" > > WILL return true no matter where I use it. Is this normal behavior? > > 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 > _______________________________________________ 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