SWT 2.1: Increasing Combo popup's Item count [message #464510] |
Wed, 23 November 2005 15:53 |
Eclipse User |
|
|
|
Originally posted by: rajagopalm.hcltech.com
Hi All,
I am working on developing plugins for WSAD 5.1 and so am forced to use the SWT version that comes bundled with it.
I want to increase the popup menus default display item count from 5 to around 15. Currently I do not find and direct method call to do this.
Is there any way this can be acheived.
Thanks in advance,
Ralf
|
|
|
|
Re: SWT 2.1: Increasing Combo popup's Item count [message #464518 is a reply to message #464516] |
Wed, 23 November 2005 16:54 |
Eclipse User |
|
|
|
Originally posted by: rajagopalm.hcltech.com
> In 3.0 and beyond you can use
> CCombo.setVisibleItemCount(). There is no
> similar method for Combo.
>
Unfortunately I cannot use eclipse 3.0 as I am tied to eclipse 2.1 that comes with WSAD.
Would it make sense or is it even possible to create a custom widget every thing like Combo only the setVisibleItemCount() method added to it.
I need it to work only on windows that to as stop gap as we are moving to RAD in a few months
Thanks
|
|
|
Re: SWT 2.1: Increasing Combo popup's Item count [message #464528 is a reply to message #464518] |
Wed, 23 November 2005 19:58 |
Eclipse User |
|
|
|
Originally posted by: friederich.kupzog.de
Hi,
you can try to use the 3.x CCombo class in your 2.1 environment (get the
source file form the swt source and use it in your project). Maybe this
works. Otherwise you have to dig into the sourcecode of the 2.1 CCombo
and either add the method or just change the number of items generally.
I never tried this but heard from from people on this newsgroup doing
this in 2.1 times...
Good luck!
Friederich
Ralf Mathis wrote:
>>In 3.0 and beyond you can use
>>CCombo.setVisibleItemCount(). There is no
>>similar method for Combo.
>>
>
>
> Unfortunately I cannot use eclipse 3.0 as I am tied to eclipse 2.1 that comes with WSAD.
>
> Would it make sense or is it even possible to create a custom widget every thing like Combo only the setVisibleItemCount() method added to it.
>
> I need it to work only on windows that to as stop gap as we are moving to RAD in a few months
>
> Thanks
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk
|
|
|
|
Powered by
FUDForum. Page generated in 0.06650 seconds