4 Replies Latest reply on Jan 24, 2013 10:30 AM by jkinsman

    Adding button in my UI

    bacas_christy Level 1

      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