home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!informatics!nilesh
- From: nilesh@wupost.wustl.edu (Nilesh L. Jain)
- Newsgroups: comp.windows.x
- Subject: Drag-drop in Viewport widget
- Date: 14 Sep 1992 15:21:52 -0500
- Organization: Washington University in Saint Louis, MO USA
- Lines: 24
- Distribution: world
- Message-ID: <nilesh.716500458@informatics>
- NNTP-Posting-Host: informatics.wustl.edu
- Summary: Drag and drop inside Athena's Viewport Widget
- Keywords: Drag-drop, Viewport, Athena
-
- I am developing an application for use by radiation oncologists using the
- Athena widget set. In the top right hand corner of the display, I have to
- present about 10-15 columns of data, each column consisting of 5 command
- widgets. Since it is physically impossible to fit all the data into the
- available space, I am using the Viewport widget. It allows me to see about
- 4 columns at a time, and I can use the horizontal scrollbar to see the rest.
-
- The physicians using the system want the ability to move a column of data in
- order to rearrange the column order. They want to be able to click on a
- column, drag it over to the column they want it to occupy, and drop it there
- shifting the intervening columns. I was planning on using the middle mouse
- button for this purpose - BtnDn to select the column, BtnMotion for the
- drag and BtnUp for the drop. However, when the destination column is not
- visible, I need to scroll the data. But I have not been able to do this as
- the Viewport widget controls the scrolling of the data directly.
-
- Has anyone else experienced this? If so, how have you gotten around it? I
- would appreciate pointers from people who have implemented such a feature in
- their application. Please e-mail. I will summarize the response. Thanks.
-
-
- Nilesh L Jain Division of Medical Informatics
- nilesh@informatics.wustl.edu Washington University School of Medicine
- St Louis MO 63110
-