Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Simple Combo w/ Data Question
Simple Combo w/ Data Question [message #444272] Mon, 11 October 2004 04:38 Go to next message
Eclipse UserFriend
Originally posted by: spam.scientifik.com

Very simple but I'm a newbie all the way...

I have a combo box which I'm populating w/ data from a Firebird database
and each time the combo is selected, the data is duplicated in the combo
and it keeps growing each time it is selected.

Where and how do I prevent this? I tried "combo.removeAll()" where I
thought would be before the call to my "loadData()" method but it just
keeps growing.

I'm sure there is a very typical solution to this as I'm able to control
this w/ technologies I'm more familiar with.

Any ideas?

Thanks!
Re: Simple Combo w/ Data Question [message #444274 is a reply to message #444272] Mon, 11 October 2004 07:46 Go to previous message
Eclipse UserFriend
Originally posted by: spam.scientifik.com

V. Jenks wrote:

> Very simple but I'm a newbie all the way...

> I have a combo box which I'm populating w/ data from a Firebird database
> and each time the combo is selected, the data is duplicated in the combo
> and it keeps growing each time it is selected.

> Where and how do I prevent this? I tried "combo.removeAll()" where I
> thought would be before the call to my "loadData()" method but it just
> keeps growing.

> I'm sure there is a very typical solution to this as I'm able to control
> this w/ technologies I'm more familiar with.

> Any ideas?

> Thanks!

I solved it, just had to feel my way around, sorry!
Previous Topic:Why SWT.Hide not send to wizard page?
Next Topic:Detecting system idle time
Goto Forum:
  


Current Time: Thu Apr 25 05:10:18 GMT 2024

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

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

Back to the top