Can't show border in CDateTime [message #58118] |
Thu, 21 August 2008 03:05  |
Eclipse User |
|
|
|
Dear All,
In my eclipse form, I put a CDateTime in it but it can't show the
border around the field. Below is my code. Can someone help me? Thanks
cbContractMonth = new CDateTime(container, CDT.DROP_DOWN | CDT.BORDER);
cbContractMonth.setPattern("MMM yy");
manager.getToolkit().adapt(cbContractMonth);
Best Rdgs
Ellis
|
|
|
|
Re: Can't show border in CDateTime [message #58199 is a reply to message #58145] |
Thu, 21 August 2008 07:36  |
Eclipse User |
|
|
|
Thanks for your help. It works now !! But I still find a minor problem
that it's using CDT.DROP_DOWN style. Some of the value is overlapped with
drop down button icon. How can I solve this? By the way, what's the update
site so that I can get the latest version through software update in
eclipse? Thanks
Best Rdgs
Ellis
|
|
|
Re: Can't show border in CDateTime [message #591866 is a reply to message #58118] |
Thu, 21 August 2008 04:00  |
Eclipse User |
|
|
|
CDateTime on Nebula is somehow outdated. The main developer still works
on the sources but didn't update CDateTime on Nebula yet.
I guess you are using Windows, then this bug is solved in the next
version you can get at sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=157489 &package_id=178481&release_id=607185
Or better check out the svn resources for CDateTime there.
greetings
Peter
Ellis Yu wrote:
> Dear All,
>
> In my eclipse form, I put a CDateTime in it but it can't show the
> border around the field. Below is my code. Can someone help me? Thanks
>
>
> cbContractMonth = new CDateTime(container, CDT.DROP_DOWN |
> CDT.BORDER);
> cbContractMonth.setPattern("MMM yy");
> manager.getToolkit().adapt(cbContractMonth);
>
> Best Rdgs
> Ellis
>
|
|
|
Re: Can't show border in CDateTime [message #591881 is a reply to message #58145] |
Thu, 21 August 2008 07:36  |
Eclipse User |
|
|
|
Thanks for your help. It works now !! But I still find a minor problem
that it's using CDT.DROP_DOWN style. Some of the value is overlapped with
drop down button icon. How can I solve this? By the way, what's the update
site so that I can get the latest version through software update in
eclipse? Thanks
Best Rdgs
Ellis
|
|
|
Powered by
FUDForum. Page generated in 0.26698 seconds