popup and background reference

Jeanne A. E. DeVoto jeanne at runrev.com
Tue Dec 31 22:46:58 EST 2002

At 7:23 PM -0800 12/31/02, Dar Scott wrote:
>on mouseDown
>   popup button "Hidden Popup" of background "Hidden"
>end mouseDown
>This works fine if the group containing the popup button is on the same
>card but does not work if it is not.
>What am I doing wrong?

I quote myself (from the dictionary entry for "popup"):

  The button is a reference to a button on the current card.

You're not doing anything wrong with your syntax; it's just that the button
needs to be on the card (or its group does). If not for that condition,
your formulation would work fine.

Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development

More information about the Use-livecode mailing list