Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » get the font color?
get the font color? [message #370999] Mon, 16 June 2003 12:41 Go to next message
Asaf Ben Ezra is currently offline Asaf Ben EzraFriend
Messages: 26
Registered: July 2009
Junior Member
hi,

i used the FontDialog class - and selected some color - but i can not get
the selected color from the font data - so how can i?
Re: get the font color? [message #371001 is a reply to message #370999] Mon, 16 June 2003 13:49 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Use FontDialog.getRGB().


Asaf wrote:

> hi,

> i used the FontDialog class - and selected some color - but i can not get
> the selected color from the font data - so how can i?
Re: get the font color? [message #371003 is a reply to message #370999] Mon, 16 June 2003 13:52 Go to previous message
Eclipse UserFriend
Originally posted by: veronika_irvine.oti.com

/**
* Returns the currently selected color in the receiver.
*
* @return the RGB value for the selected color, may be null
*
* @see PaletteData#getRGBs
*
* @since 2.1
*/
public RGB getRGB () {


"Asaf" <asafbe@il.ibm.com> wrote in message
news:bckdsv$23u$1@rogue.oti.com...
> hi,
>
> i used the FontDialog class - and selected some color - but i can not get
> the selected color from the font data - so how can i?
>
Previous Topic:recalculate my wizard size?
Next Topic:how to get clicked button from MessageBox?
Goto Forum:
  


Current Time: Fri Apr 26 22:07:16 GMT 2024

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

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

Back to the top