|Double-clicking in a file-open dialog causes a mouse up event in the parent shel [message #467763]
||Mon, 06 February 2006 10:30
| Steve Baker
Registered: July 2009
I have a main shell which has lots of hyperlinks on which are initiated by |
mouse up events. The shell also has a link to the standard file-open
dialog which loads data from a file. In the file-open dialog, one
standard way to load files is to double click on one which will select it
and then close the dialog. The problem I am having is that as well as
selecting the file and closing the shell, it also fires a mouse up event
in the main shell which launches one of my hyperlinks. Why is the event
not consumed in the open-file dialog only, and what can I do to prevent
the mouse up event being fired in the underlying shell?
I have a similar problem when using a JFace autocompletion content
assistant dropdown on a TextViewer.
I am using SWT 3.1 on Windows XP.
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01972 seconds