Setting label of option menu
Pat Trendler
ptrendler at bigpond.com
Tue Feb 22 02:22:34 EST 2005
I think what you mean is
set the name of btn "a" to "two"
that works.
set the label of btn "a" to "two" does set the label OK, but it is the
*name* that gets displayed on the btn.
HTH
Pat
patrend at bigpond.com
----- Original Message -----
From: "Kaveh Bazargan" <kaveh at river-valley.com>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, February 22, 2005 4:47 PM
Subject: Setting label of option menu
>I am resetting the menuHistory and the Label of an option button, using the
> following script:
>
> create btn "a"
> set the style of btn "a" to "menu"
> set the menumode of btn "a" to "option"
> set the showName of button "a" to true
> put "one" & return & "two" & return & "three" into btn "a"
> set the menuHistory of btn "a" to 2
> set the label of btn "a" to "two"
>
> Why is the label of the button still "a", not "two"?
> --
>
> Kaveh Bazargan
> http://www.river-valley.com
> http://www.holographer.org
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list