|
Re: DataTime Widget on solaries [message #642158 is a reply to message #642078] |
Tue, 30 November 2010 07:21 |
Daniel Krügler Messages: 853 Registered: July 2009 |
Senior Member |
|
|
On 11/29/2010 19:22, ashok_kumar_rr@yahoo.com wrote:
> Hi,
>
> DateTime t = new DateTime(parent, SWT.BORDER | SWT.DROP_DOWN );
>
> Widget on windows its display as in form Datachosser thats calender is
> displayed when user select dropdown list..
> when same app is deployed for solaries platform ,,
>
> Calendar is not displayed .widget displayes the date in the form of
> spinner widget.
>
> can any once tell how to fix it.. i want calender to be displayed.... i
> want eclipse native widget..
> is there any way to fix it.....
Sorry, I have problems to understand what you want to realize. Have you
looked at the examples from the SWT snippets list, first:
http://www.eclipse.org/swt/snippets/#datetime
?
It is also useful to study the widget documentation. Quoting:
"Styles:
DATE, TIME, CALENDAR, SHORT, MEDIUM, LONG, DROP_DOWN
[..]
Note: Only one of the styles DATE, TIME, or CALENDAR may be specified,
and only one of the styles SHORT, MEDIUM, or LONG may be specified. The
DROP_DOWN style is a HINT, and it is only valid with the DATE style."
HTH & Greetings from Bremen,
Daniel Krügler
|
|
|
|
Powered by
FUDForum. Page generated in 0.03263 seconds