option menu Btn
yvescoppe at skynet.be
Thu Oct 17 01:34:00 CDT 2002
>--- Jan Schenkel <janschenkel at yahoo.com> wrote:
> > >
>> Hi Yves,
>> The selected line is actually copied into the
>> 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,
>> Jan Schenkel.
>And before I forget, there's also the menuHistory
>property, which works for all kinds of menus, not just
>the option menus.
1) the menuhistory gives "1" for the first submenu item AND for the
first menu item
2) I've tried with menupick. It doesn't work !
try something like :
an option menu btn with menu
and the following script :
on menuPick pWhich
answer the menuHistory of me
It doesn't work !
can you help me ?
Email : yvescoppe at skynet.be
More information about the use-livecode