Re: Problem with PopUp menus

Clark Parsons ((no email))
Tue, 18 Apr 95 9:00:33 MDT

> Hello,
>
> Does someone have an idea about that ?
>
>
> Thanks in advance for your help.
>
>
4/18/95

This is not an answer to your question, but building and using the popup
and pulldown menus always seems to be too complex for me and prone to be a
problem so I usually use option menus. I also wonder if you are trying to
mix option menus with pulldown/popup menus.

Option Menus
============
With an option menu you simple fill in the button contents area with the
menu items and then write a mouseup script for the button that uses the
label to make choices.

If the contents field contained:
Red
Green
Blue

Then you could write the script:

on mouseup
if the label of me is "Red" then
<do something>
else
if the label of me is "Green" then
<do something else>
else
if the label of me is "Blue" then
<do a third thing>
end if
end if
end if
end mouseup

For me this is incredibly easier than worrying about menu stacks, etc. Its
easy to add an entry and the script is right there with the button.

Just a thought!

Sincerely,

Clark Parsons
clarkp@fc.hp.com