I want to set a textarea without both
scrollbars, vertical and horizontal.

>From the documentation, it said that

a constructor is :

     TextArea(String, int, int, int)
      Constructs a new text area with the specified text,
      and with the rows, columns, and scroll bar visibility
      as specified.

   and one variable is:
    SCROLLBARS_NONE.

I have tried to use:

            TextArea textarea_comqty = new TextArea("Qty", 1, 5,
SCROLLBARS_NONE);

  and
            TextArea textarea_comqty = new TextArea("Qty", 1, 5,
SCROLLBARS_NEITHER);

However, none of them works.

Can anyone tell me how to set up a textarea without
both scrollbars on a constructor?

Thanks in advance
--Simmy


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to