option menu Btn
janschenkel at yahoo.com
Wed Oct 16 16:03:00 CDT 2002
--- Yves Coppé <yvescoppe at skynet.be> wrote:
> I've created an option menu btn in mac OS X 10.1.5
> The menu is a list of item and some hierarchical
> subMenu Item
> My handler is
> if the selectedText of me is "xxx" then
> else if the selectedText of me is "yyy" then
> end if
> This doesn't work. I cannot access my script from
> the selectedtext
> How can I do ?
> Yves COPPE
The selected line is actually copied into the 'label'
property when an item is selected.
If you want to react to a user's choice, you should
handle the 'menuPick' event.
Hope this helped,
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
More information about the use-livecode