2 Replies Latest reply on Jan 11, 2008 2:50 AM by Newsgroup_User

    trouble with combo box

    Level 7
      I am using a combo box with the code below, but each time I arrive on this
      screen that displays cbTREATMENT, the combo box first draws itself with the
      default style, then applies my style, which looks a bit ugly onscreen.

      Anything I can do to rectify this?

      Thanks.

      cbTREATMENT.setStyle( "fontSize", "13" );
      cbTREATMENT.setStyle( "color", "0x000000" );
      cbTREATMENT.setStyle( "fontWeight", "bold" );
      cbTREATMENT.setStyle( "fontFamily", "arial" );
      cbTREATMENT.dropdown.rowHeight = 18;
      cbTREATMENT.dataProvider=["","name1","name2","name3];
      cbTREATMENT.text=vTREATMENT;