Send Menupick?
Mark Schonewille
europe at ehug.info
Mon Jan 23 14:30:32 EST 2006
Hi Sivakatirswami,
This will do what you want:
select line lineoffset("Working Guide", btn "Help") of btn "Help"
or if you already know the line number:
select line x of btn "Help"
where x is the appropriate number.
Best,
Mark
Sivakatirswami wrote:
> 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
--
eHUG coordinator
mailto:europe at ehug.info
http://www.ehug.info
http://home.wanadoo.nl/mark.sch
http://www.economy-x-talk.com
Please inform me about vacancies in the field of
general economics at your institute. I am also looking
for new freelance programming projects.
More information about the use-livecode
mailing list