Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Combo problem about setvisibleCount
Combo problem about setvisibleCount [message #89318] Thu, 22 May 2008 08:55 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
>
>
Re: Combo problem about setvisibleCount [message #89467 is a reply to message #89393] Fri, 23 May 2008 02:12 Go to previous message
Eclipse UserFriend
Originally posted by: dnise.hotmail.com

Hi Rüdiger:
I have download the latest release from CVS, it works fine.

Thanks

dnise
Previous Topic:deploying/running RAP: get NoClassDefFoundError: org/xml/sax/SAXException
Next Topic:Label.computeSize
Goto Forum:
  


Current Time: Wed Apr 24 15:51:56 GMT 2024

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

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

Back to the top