I am also trying to rename the text of a button. Here is how I thought it would
be done (but does not work).
The 'text' property gets changed, as the inspect shows, but the button's text
does not appear to change on screen.
Shoes.app do
@button = nil
stack do
@button = button "initial text" do
@button.style(:text => "text changed")
alert @button.style.inspect
end
end
end
Martin
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.