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
[EMAIL PROTECTED]

----- Original Message ----- From: "Kaveh Bazargan" <[EMAIL PROTECTED]>
To: <use-revolution@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@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to