Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » colored buttons possible?
colored buttons possible? [message #451973] Fri, 11 March 2005 17:19 Go to next message
Eclipse UserFriend
Originally posted by: newsgroup.burknet.ch

hi there

is it possible to assign a color to a button?

i'd like to have a question that can be answered with three differently
colored buttons...

thanks and greetings
stefan
Re: colored buttons possible? [message #451979 is a reply to message #451973] Fri, 11 March 2005 18:37 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
In general yes, but win32 has a platform limitation that makes
setForeground(...) and setBackground(...) not work for Buttons.

Grant

"Stefan Burkard" <newsgroup@burknet.ch> wrote in message
news:d0sjvt$o5v$1@www.eclipse.org...
> hi there
>
> is it possible to assign a color to a button?
>
> i'd like to have a question that can be answered with three differently
> colored buttons...
>
> thanks and greetings
> stefan
Previous Topic:Complex Custom SWT widgets
Next Topic:Icon & Text together on a button
Goto Forum:
  


Current Time: Mon Sep 28 23:22:31 GMT 2020

Powered by FUDForum. Page generated in 0.01182 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top