SWT.DROP_DOWN style has no effect on DateTime widget

Jacob Carlborg doob at me.com
Thu Feb 13 10:51:37 PST 2014

On 2014-02-13 17:20, JohnnyK wrote:
> Under Windows 7 64bit Enterprise the SWT.DROP_DOWN style has no effect
> on the DateTime widget.  The widget does not show the date in a combo
> box with a dropdown button.  It shows in the default with the up/down
> spin buttons that are found on the Spin widget.
> Below is a slightly modified version of Snippet250 to test out this issue.

> I have tried it with and without the border even tried it with just
> SWT.DROP_DOWN style and that did not work either.  This is not a
> critical issue I just wanted to bring it to someones attention.  I am
> not sure what version of SWT DWT is based on these days so I don't know
> what version of DWT I have.  I just downloaded a fresh copy of DWT a
> couple of weeks ago.
> I am using dmd v2.064 and rdmd build 20131011
> I compiled the code above with the following line from my install of dwt
> directory.
> rdmd build swtsnippets[Snippet250]

Please report an issue with the test case included to:


DWT is based on SWT 3.4. The exact version can be seen here:


/Jacob Carlborg

More information about the Digitalmars-d-dwt mailing list