I think the problem is that you've set the button style to cascading.
Try setting it to pulldown or popup instead, but don't make any other
changes to the button or script. You will still get the cascading
submenus, and the menupick script should now work.

I'm not sure why it works this way and not with the "cascading" style;
perhaps Scott can explain.

Marni

[EMAIL PROTECTED] wrote:
> 
> I have tried making a cascading menu.  I created a button named "Test
> Cascading" and set its style to cascading.  I then typed the following into
> the button contents field. The "Subtest" items have a tab before them.
> 
> Test 1
> Test 2
> Test 3
>     Subtest 1
>     Subtest 2
> Test4
> 
> I unchecked all the items in the button behavior (Auto highlight, Auto arm,
> etc.).  I then put the following into the button script:
> 
> on menuPick thePick
>     beep
>     put thePick
> end menuPick
> 
> When I click on the button, a cascading menu appears to the right as desired.
>  When the mouse passes over "Test 3," the cascading menu showing the Subtest
> 1 & 2 items appear as desired.  So far so good.  When I release the mouse on
> "Test 1," "Test 2," "Test 3," or "Test 4," the computer beeps and the
> menuPick is displayed in the Message Box.  However, when I release the mouse
> on one of the submenus "Subtest 1," or "Subtest 2," nothing happens.  Am I
> missing something?
> 
> Philip Chumbley
> 
> P.S.  I'm running MC 2.2.5.  Thanks Scott!

-- 
Marni Centor ([EMAIL PROTECTED])
Summit Systems, Inc.
22 Cortlandt Street
New York, NY 10007
(212) 896-3466
 
The views and opinions expressed in this email message are the sender�s
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.

Reply via email to