menuHistory & menuPick
Klaus major-k
klaus at major-k.de
Sat Aug 5 08:52:38 EDT 2017
> Am 05.08.2017 um 14:15 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
>
> well, not exactly...
But it answered exactly your initial question, Sir!
> here's the thing : I have a hidden option button with several choices :
> choice1
> choice2
> choice2
>
> At some point the content of the btn gets updated and it becomes visible
> with the following script :
> put "choice4" & return & "choice5" & return & "choice6" into btn 1
> set label of btn 1 to line 2 of btn 1
> set menuhistory of btn 1 to 2
>
> The purpose of the "menuhistory" line is, when user press the btn,
> to have all the choices "centered around" the visible one on the label,
> which is more elegant imho...
Well, this is a completely different situation and I am a bit clueless.
Now do you want to execute the menupick handler or not?
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list