onContextMenu Widget

"Christian Boulanger" <[email protected]> Thu, 11 Sep 2003 08:44:49 +0900
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <000f01c377f5$87a4e750$0300a8c0@Laptop>
This is a SUGGESTION for you developers...

I have not used the tooltip functionality of nw, but something that I would
love to have sometime in the future would be a onContextMenu widget which
pops up at the mouse pointer position when the right button is clicked. I am
not sure how cross-browser onContextMenu support is. This widget could  be a
combination of a drop-down menu component and the tooltip functionality
which could be attachable to divs. 

For example, I have a table of data (say a list of bibliographic references,
in my application). I want to do things with the data in each row, for
example, copy them to the clipboard, delete them, etc. I could write a
mousedown event which marks the row internally and then use the drop down
menu to do things with the data, but it would be much easier for the user to
use a context menu.

I wonder how difficult it would be to throw together such a widget.

Best,

Christian 


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org