Adding button in my UI
Hi All,
I m creating a User Interface, with some textbox and now I m in need of inserting some buttons.
I have used the below coding for adding text box:
with (dialogRows.add())
{
var NewStyle = textEditboxes.add({editContents:'Enter the Style Name', minWidth:180});
}
And it is working fine. In the same manner I have tried for button:
var NewBut = button.add({label:'search'});
But it is throwing an error.
Please help us to do the same.
Thanks,
Christy