[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Text Widget Question - setting programmatically a multi line text box
|
hi
you can try to append a "linefeed" characters; Texte.append("\n");
(if you append the "carriage return" characters ("\r"), on win32, it will
draw a little square)
bye
"Richard Moore" <rmoore@xxxxxxxxxxxx> a écrit dans le message de news:
beulld$91t$1@xxxxxxxxxxxxxx
> Hi All,
>
> I would like to set the contents of a Multi Text box programmatically, it
is
> an address field and the database has the address line 1 to line 8. I
would
> like to add each line into the multi line text box line by line. Any ideas
?
> and so maintaining the nice format.
>
> I have tried using the Text.append method and then at the end
> Text.append(getLineDelimtter() also Text method) but it doesn't work
> correctly, it displays control characters and all 8 lines are on one line.
>
> Thanks in Advance
> R Moore
>
>