home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16654 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.9 KB

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