2 Replies Latest reply on Mar 1, 2007 7:10 AM by mercl

    setting textField according the textHeight

    mercl
      Hi,
      does anyone know if you can set the height of a textfield AFTER you created it using
      Mclip.createTextField("body",1 ,0 ,0 ,400, someHeight);

      right now i can only get the textHeight after i've created the textfield and set the format using
      setTextFormat();
      (wich is logeical becase only according to the font Type and size can one mesure the height of the text applied to the textField

      in other words i want to create a textfield that has a fixed width, but is as big as the number of lines coming from a textfile (blob)

      hope it make sence
      thanx, i.a.

      ML