xButton.SetProperties

xButton.SetProperties ( 

string ObjectName,

table  Properties )

Example 1

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


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

Change the font size, text, and width of the xButton object 'xButton1'.

See also:  Related Actions