[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: SWT: my Button catches all the KeyboardEvents - why?
|
The Problem was, that there is a TraverseEvent that occurs, when I press
enter and the Button had the focus once before.
So I added a TraverseEvent to my shell and set the fields "detail" to
SWT.TRAVERSE_RETURN and "doit" to false. Then, if the event TraverseReturn
comes up, it is not caught, because "doit" is set to false.
I hope it did help you. If not, ask again.
Peter
David J. Orme wrote:
> Peter wrote:
> > Ok, I got it. It had to do with the TraverseEvents. Strange thing, I
> > think. But it works now.
> What was the solution?
> TIA!
> Dave
> --
> Dave Orme
> Advanced Systems Concepts
> http://www.asc-iseries.com