0 Replies Latest reply on Aug 26, 2008 9:51 AM by Newsgroup_User

    Styling text box of a combobox

    Level 7
      Hi --

      I have a comboBox that I am styling using this code:

      new_style.setStyle("embedFonts",true);
      new_style.setStyle("fontFamily", "Gibraltar-Plain");
      new_style.setStyle("color", 0x653a71);
      new_style.setStyle("fontSize", 12);
      new_style.setStyle("rollOverColor", 0x653a71);
      new_style.setStyle("textRollOverColor", 0x000000);
      new_style.setStyle("selectionColor", 0xDDDDDD);
      new_style.setStyle("textSelectedColor", 0x000000);

      forminputs_mc.states_cbx.setStyle("styleName","cbxStyle")


      When I click on the drop down I see the items in the combo box but whenever
      I select an item the item shown in the combo box is empty. If I change the
      font to a non-embedded font it works fine. How do I set the "textField" to
      have the embedded font so it displays properly?

      Thanks

      Rich