DateTime control

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

DateTime control

Postby pedrojrivera » Thu Feb 25, 2010 3:41 pm

Hi there,

Just purchased a license of SWT Designer and love the product. Life is soo much easier now. But I ran into something.

When I create a new DateTime control I can create it in code as follows:

Code: Select all
DateTime dateBirth = new DateTime(compositePersonal, SWT.BORDER | SWT.LONG | SWT.DROP_DOWN);

If I try to do it with the designer I don't get an option to add the DROP_DOWN style.

Is it possible to add this style to the pop up menu for DateTime control in future updates?

Thanks,

Pedro
pedrojrivera
 
Posts: 2
Joined: Thu Feb 25, 2010 3:30 pm

Re: DateTime control

Postby Eric Clayberg » Fri Feb 26, 2010 6:59 am

pedrojrivera wrote:If I try to do it with the designer I don't get an option to add the DROP_DOWN style.

This is now available in the latest SWT Designer v7.3 build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: DateTime control

Postby pedrojrivera » Sun Feb 28, 2010 4:22 pm

I just downloaded the update and saw the change. Thank you very much.

Pedro
pedrojrivera
 
Posts: 2
Joined: Thu Feb 25, 2010 3:30 pm

Re: DateTime control

Postby Eric Clayberg » Sun Feb 28, 2010 4:35 pm

Glad that worked for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 2 guests