[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Help! Tree expand problem
|
Hi Bob,
I thought that at the least a Display filter could be used to detect these
cases and veto them, but this does not seem to work. It appears to be a
platform limitation, because I followed my test case through and did see the
"event eaten" result returned to Windows. So I don't think there's a way to
disallow this on win32.
Grant
"Bob Seamon" <bobseamon@xxxxxxxxxxx> wrote in message
news:29a179cac40468d52b00b3bd45463739$1@xxxxxxxxxxxxxxxxxx
> On the windows platform, if the user hits the * or + key on the NumPad,
> this will cause the tree to expand all of its nodes. Is there a way using
>
> tree.addListener(SWT.Expand, new Listener() {
> public void handleEvent(Event e) {
> e.someProperty = ???
> }
> );
>
> to disallow the tree widget to expand all levels?
>
> Thanks!
>
>
>