Odd Name Resolution

Bob Sneidar bobsneidar at iotecdigital.com
Tue Apr 3 15:59:41 EDT 2018


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





More information about the use-livecode mailing list