[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: refreshing a shell

mattia wrote:
Good Morning,
I search the net very much but I didn't find any answer to my question.

I have a shell with 2 combos and other widgets, such buttons and labels:

when I select an element in the first combo, the shell should refresh itself (with all the component previously in it) loading some other values (depending on the value of the first selection) in the second combo.

This behaviour should be repeated every time the user choose a different value in the first combo, until he pushes the ok button to go to the next shell.

I don't know how to do this thing, so any help (explanation and pieces of code should be the maximum) is very very very appreciate.


Look into using ComboViewers instead of plain Combo widgets. That will make it easy to change the contents of the secondary list.

Hope this helps,
	Eric