Page 1 of 1

Option Menu

Posted: Thu Mar 09, 2017 7:05 am
by maxs
Is it possible to get the line number of a selection in an optionmenu?

Re: Option Menu

Posted: Thu Mar 09, 2017 8:58 am
by hpsh
you mean something like this? (just replace the standard code in option menu)

Code: Select all

on mouseUp
   put word 2 of the selectedline of me into field "f1"
end mouseUp

Re: Option Menu

Posted: Thu Mar 09, 2017 11:45 am
by Klaus
Hi Max,

"the menuhistory" should give you what you need.


best

Klaus

Re: Option Menu

Posted: Fri Mar 10, 2017 2:44 am
by maxs
Yes, thank you KPSH,

I did have that line , but I forgot to add the words: "of me"

Re: Option Menu

Posted: Fri Mar 10, 2017 11:30 am
by hpsh
well, easy to miss.

and really hate that Klaus always finds a better way to do stuff :lol:

Re: Option Menu

Posted: Fri Mar 10, 2017 2:42 pm
by Klaus
Hi hpsh,

so sorry, NOT! :D


Best

Klaus

Re: Option Menu

Posted: Fri Mar 10, 2017 2:53 pm
by dunbarx
MUCH worse than the fact that Klaus' posts are usually spot-on, is that he gets here before everyone else.

Craig

Re: Option Menu

Posted: Fri Mar 10, 2017 3:13 pm
by Klaus
dunbarx wrote:MUCH worse than the fact that Klaus' posts are usually spot-on, is that he gets here before everyone else.
Well, one of the very few advantages (if not the only one) of being unemployed since a long time... :?

Re: Option Menu

Posted: Fri Mar 10, 2017 4:56 pm
by dunbarx
Hmmm.

I think it is living closer to the sun, each and every day.

Craig

Re: Option Menu

Posted: Sat Mar 11, 2017 1:13 pm
by Klaus
Nice try, Craig! 8)

Re: Option Menu

Posted: Mon Mar 13, 2017 7:20 am
by maxs
THanks, Craig and Klaus.

I'm always surprised when people I don't know want to help. I'm from Detroit.

Max