Menu items

Jan Schenkel janschenkel at yahoo.com
Fri Mar 26 07:30:07 EST 2004


--- hershrev <hershrev at realtorsgroup.us> wrote:
> I have an option button, the menu items needs to
> be editable, that if the list doesn't contain 
> the necessary item the user should be able to 
> add it.  I used the "use stack menu" .  I used 
> menupick to trigger the script when a user 
> selects a menu item , It doesn't seem to 
> determine different items  ?
> hershrev
> 

Even though it is not exactly clear to me what you're
getting at, here are my thoughts :

1) How about using combo-boxes ?

2) If you want to know which line was selected, not
which item, try this :
--
on menuPick
  if line (the menuHistory of me) of me is \
     "Other..."
  then go stack "MyMenuItemEditor"
end menuPick
--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


More information about the use-livecode mailing list