Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime - Background Color - FormEditor
CDateTime - Background Color - FormEditor [message #63879] Wed, 03 June 2009 12:46
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 98
Registered: July 2009
Hello there.

I'm trying to use the CDateTime control within a
org.eclipse.ui.forms.editor.FormEditor in the following way:

CDateTime date = new CDateTime(parentPart, CDT.DROP_DOWN
date.setBackground(date.getDisplay().getSystemColor(SWT.COLO R_WHITE));
date.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
this.formToolkit.adapt(date, true, true);

But setting the background color to SWT.COLOR_WHITE has no effect.

Does anybody have an idea, what I may have done wrong?

Regards and thanks a lot,

Previous Topic:CDateTime Release schedule?
Next Topic:CDateTime - Background Color - FormEditor
Goto Forum:

Current Time: Sun Sep 20 07:56:10 GMT 2020

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

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

Back to the top