the following code worked fine for me:

  on mouseUp
    local tButtonName
    put "bob" into tButtonName
    set the label of button tButtonName to "hello"
  end mouseUp

i had 2 buttons, one named "bob" and the other was just a
generic "new button".. clicking the generic button would
change the label of button "bob"..

is there something else that you were looking to do?


----- Original Message Follows -----
> How can I refer to a button by name using a variable?
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to