Odd Name Resolution
tom at makeshyft.com
Tue Apr 3 16:12:20 EDT 2018
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 at 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.
> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode