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 #594890] 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 - Background Color - FormEditor
Next Topic:How to handle AutoComplete control properly in Grid Cell Editor?
Goto Forum:

Current Time: Fri Sep 20 20:10:31 GMT 2019

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

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

Back to the top