Combo problem about setvisibleCount [message #89318] |
Thu, 22 May 2008 08:55 |
Eclipse User |
|
|
|
Originally posted by: dnise.hotmail.com
Hi All:
for the moment I have some troubles in Combo.
I used some codes as this:
Combo combo =new Combo(composite,SWT.BORDER);
combo.set("1");
combo.set("2");
combo.set("3");
combo.set("4");
combo.set("5");
combo.set("6");
combo.set("7");
combo.set("8");
start the application,I would see it's fine. it only shows five visible
items for me when I click the combo. I want to show all this items when i
click it. I know what's problem with it. In combo source code ,there is a
attribute about showing the numbers of visible items which is
called "visibleCount". The default value is five .If we want change this
value, we can use setVisibleCount method. In SWT,it works fine.But in
rap,it doesn't work.
in addition, I use 1.1 M4 package.
appreciate for any help and ideas.
|
|
|
Re: Combo problem about setvisibleCount [message #89393 is a reply to message #89318] |
Thu, 22 May 2008 10:59 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi,
I cannot reproduce what you describe. Just tried with the
ControlsDemo in FF 2.0 and IE7. Both show the desired number of items.
Could you retry with latest from CVS HEAD?
Cheers,
Rüdiger
dnise wrote:
> Hi All:
> for the moment I have some troubles in Combo.
> I used some codes as this:
> Combo combo =new Combo(composite,SWT.BORDER);
> combo.set("1");
> combo.set("2");
> combo.set("3");
> combo.set("4");
> combo.set("5");
> combo.set("6");
> combo.set("7");
> combo.set("8");
>
> start the application,I would see it's fine. it only shows five visible
> items for me when I click the combo. I want to show all this items when i
> click it. I know what's problem with it. In combo source code ,there is a
> attribute about showing the numbers of visible items which is
> called "visibleCount". The default value is five .If we want change this
> value, we can use setVisibleCount method. In SWT,it works fine.But in
> rap,it doesn't work.
> in addition, I use 1.1 M4 package.
> appreciate for any help and ideas.
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03084 seconds