Combobox Value/Display Members

Klaus Major klaus at major-k.de
Mon Jun 30 16:13:00 EDT 2003


Hi Jez:

> I can see that works but still dont see how I can "get at" the 
> underlying
> numeric value of the combobox.  Does this mechanism only work for 
> values
> 1,2,3,4,etc or will it also work for any values (1,10,55,80, etc)

maybe you are looking for "the menuhistory"?

This will return the (line-)number of the menu picked...

on menupick
   put the menuhistory of me into numberchosen
   ## do something with it...
end menupick

Hope that helps.


Regards

Klaus Major
klaus at major-k.de
www.major-k.de




More information about the use-livecode mailing list