Send Menupick?

Dan Friedman dan at clearvisiontech.com
Mon Jan 23 20:14:09 EST 2006


Sivakatirswami,

Try this...

send "menuPick" && "Working Guide" to btn "Help"

Hope that helps.

-Dan


> I would  like to have a script in one menu button  on one card (A),
> take the user to another card  (b) and trigger a menu choice on a
> button on Card B
> 
> This seemed to be obvious enough:
> 
> --> pull down menu on Card A
> on menuPick pitem
>  switch pItem
>  case "User Guide"
>    go to card "User Guide"  # Card B
>    send menupick ("Working Guide") to btn "Help" # a tabbed menu on
> card B
>    break
>  end switch
> end menuPick
> 
> 
> but I get an error for this line:
> 
> send menupick ("Working Guide") to btn "Help"
> 
> and the script error is saying it thinks this is a function call and
> not an attempt to send a msg?
> 
> Send MouseUp  works, but  send Menupick doesn't? (of course it
> probably does, I'm just doing something wrong...
> 
> Insights?
> 
> Sivakatirswami




More information about the use-livecode mailing list