Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Can't show border in CDateTime
Can't show border in CDateTime [message #58118] Thu, 21 August 2008 07:05 Go to next message
Ellis Yu is currently offline Ellis YuFriend
Messages: 15
Registered: July 2009
Junior Member
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 #58145 is a reply to message #58118] Thu, 21 August 2008 08:00 Go to previous messageGo to next message
Peter Kanzler is currently offline Peter KanzlerFriend
Messages: 9
Registered: July 2009
Junior Member
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 #58199 is a reply to message #58145] Thu, 21 August 2008 11:36 Go to previous message
Ellis Yu is currently offline Ellis YuFriend
Messages: 15
Registered: July 2009
Junior Member
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 08:00 Go to previous message
Peter Kanzler is currently offline Peter KanzlerFriend
Messages: 9
Registered: July 2009
Junior Member
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 11:36 Go to previous message
Ellis Yu is currently offline Ellis YuFriend
Messages: 15
Registered: July 2009
Junior Member
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
Previous Topic:Grid/Gridviewer - Too long texts
Next Topic:GridViewer - EditorActivationStrategy per Column
Goto Forum:
  


Current Time: Thu Apr 25 15:26:54 GMT 2024

Powered by FUDForum. Page generated in 0.03437 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top