DataTime Widget on solaries [message #642078] |
Mon, 29 November 2010 13:22  |
Eclipse User |
|
|
|
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.....
Thanks
ashok
|
|
|
Re: DataTime Widget on solaries [message #642158 is a reply to message #642078] |
Tue, 30 November 2010 02:21   |
Eclipse User |
|
|
|
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
|
|
|
Re: DataTime Widget on solaries [message #642241 is a reply to message #642078] |
Tue, 30 November 2010 09:38  |
Eclipse User |
|
|
|
Until recently Windows was the only platform that showed the drop-down
calendar because it is the only platform that provides this natively. This
case was recently fixed on the other platforms by showing an emulated
calendar instead. The bug report is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=277638 , which has Target
Milestone is 3.7M4, so it will not appear in an official release until June
2011. If you want to see it in action in the meantime then you can download
a 3.7-stream integration build.
Grant
<ashok_kumar_rr@yahoo.com> wrote in message
news:id0qoj$dpf$1@news.eclipse.org...
> 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.....
>
> Thanks
> ashok
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03055 seconds