Simple Combo w/ Data Question [message #444272] |
Mon, 11 October 2004 04:38 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.02175 seconds