Button.SetProperties

Button.SetProperties ( 

string ObjectName,

table  Properties )

Example 1

-- Changes the font size of Button1 to 99 pt
Button.SetProperties("Button1",{FontSize=99});


-- Change the text to "Hello World" and Width to 100
tblProperties = {Text="Hello World",Width=100};
Button.SetProperties("Button1",tblProperties);

Change the font size, text, and width of the button object 'Button1'.

See also:  Related Actions