changing Combo items from another Combo [message #446544] |
Thu, 25 November 2004 16:55 |
Eclipse User |
|
|
|
Originally posted by: thoraval.yvon.free.fr
I have to change the Combo items according to another Combo.
This works except the fact i see preeceding selecyed text allthought the
new items are correct...
A way to change that "annoying feature" ?
my code actually is :
Combo cw = (Combo) comboWhatAry.get(idx);
cw.clearSelection();
cw.removeAll();
cw.setItems(comboWhatItems[c.getSelectionIndex()]);
c being anothe Combo...
|
|
|
found was (Re: changing Combo items from another Combo) [message #446546 is a reply to message #446544] |
Thu, 25 November 2004 19:27 |
Eclipse User |
|
|
|
Originally posted by: thoraval.yvon.free.fr
Yvon Thoraval <thoraval.yvon@free.fr> wrote:
> I have to change the Combo items according to another Combo.
>
> This works except the fact i see preeceding selecyed text allthought the
> new items are correct...
>
> A way to change that "annoying feature" ?
>
> my code actually is :
>
> Combo cw = (Combo) comboWhatAry.get(idx);
> cw.clearSelection();
> cw.removeAll();
> cw.setItems(comboWhatItems[c.getSelectionIndex()]);
>
> c being anothe Combo...
found using cw.select(0);...
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds