[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Color of SWT.Border

Hi Tom,

hm, not sure how to do this. Can you point me to an example or further 
information?

Best regards, Lars


"Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx> wrote in message 
news:g2ji42$7ao$2@xxxxxxxxxxxxxxxxxxxx
> Remove the border (SWT.NONE) and add a paint listener to draw the border 
> your own.
>
> Tom
>
> Lars Vogel schrieb:
>> Hi,
>>
>> can I change the color of the border of  a text field during runtime?
>> firstName = new Text(parent, SWT.BORDER);
>>
>> Best regards, Lars
>>
>>
>
>
> -- 
> B e s t S o l u t i o n . at
> --------------------------------------------------------------------
> Tom Schindl                                          JFace-Committer
> --------------------------------------------------------------------