Re: Odd Name Resolution

2018-04-04 Thread Bob Sneidar via use-livecode
That might be possible except I've checked for that already, and also it doesn't fit the symptoms I've already expressed. The phrase evaluates correctly if the target card is the currentcard, or if I reference the object using the full name. It only fails (actually it returns bad value) if I

Re: Odd Name Resolution

2018-04-04 Thread Randy Hengst via use-livecode
Bob, This works for me when I’m on the card with the button: put "btn: Set10to15" && the hilited of button "Set10to15" This works for me on any card in the stack: put "btn: Set10to15" && the hilited of button "Set10to15" of cd "GameCardHD" The button I’m referencing is in a group on the cd

Re: Odd Name Resolution

2018-04-03 Thread Bob Sneidar via use-livecode
I will try to throw one together. Note that it isn't returning an error, which it would if the defaultStack was something else, and the button or card did not exist. It's not doing that. It's returning a false value. Bob S > On Apr 3, 2018, at 15:32 , Tom Glod via use-livecode >

Re: Odd Name Resolution

2018-04-03 Thread Tom Glod via use-livecode
hmmmthats really weird .. maybe one of the IDE stacks is being considered as the defaultstack i don't know why else the ref would not work it really is weird you should report itcan you post a stack? On Tue, Apr 3, 2018 at 6:24 PM, Bob Sneidar via use-livecode <

Re: Odd Name Resolution

2018-04-03 Thread Bob Sneidar via use-livecode
The button is there. It returns false. The checkbox is checked. As I said it works if the card is the currentCard. The only stack open at the time IS the Forms Generator stack, so it has to be the defaultStack. Bob S > On Apr 3, 2018, at 13:12 , Tom Glod via use-livecode >

Re: Odd Name Resolution

2018-04-03 Thread Tom Glod via use-livecode
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

Odd Name Resolution

2018-04-03 Thread Bob Sneidar via use-livecode
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