Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Double-clicking in a file-open dialog causes a mouse up event in the parent shel
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 is currently offline Steve BakerFriend
Messages: 4
Registered: July 2009
Junior Member
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,

Steve
Previous Topic:What is Correct Way to Exit J9/SWT on PPC
Next Topic:Making table column fill page width
Goto Forum:
  


Current Time: Tue Apr 23 14:01:46 GMT 2024

Powered by FUDForum. Page generated in 0.02167 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top