Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [albireo-dev] New fix for a focus problem

Gordon Hirsch wrote:
> The original solution was causing problems with maintaining focus in a 
> swing component after dragging its parent view to another location in 
> the workbench.

Wow, a hairy scenario. I never tested that...

> +                        // Prevent the SWT_AWT-installed listener from running (and deactivating the frame).
> +                        event.type = SWT.None;

What a hack! :-) Or is this the equivalent of 'event.consume();' in AWT?

Bruno


Back to the top