> Am 05.08.2017 um 14:15 schrieb jbv via use-livecode 
> <use-livecode@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
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to