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 c
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 ca
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
> wrote:
>
> if yo
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 <
use-liveco
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
> wrote:
>
>
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 "Ga
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 ref