home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / mcl / 1246 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!caen!kuhub.cc.ukans.edu!spssig.spss.com!uchinews!owens
  2. From: owens@jonquil.uchicago.edu (Christopher Owens)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: cell-select in sequence-dialog-items
  5. Message-ID: <1992Aug17.165324.15187@midway.uchicago.edu>
  6. Date: 17 Aug 92 16:53:24 GMT
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization: Dept of Computer Science, The Univ of Chicago
  9. Lines: 14
  10.  
  11. I'm noticing that, contrary to my intuitive expectations,
  12. sequence-dialog-items in MCL 2.0 do not call CELL-SELECT when the user
  13. selects a cell by clicking on it.  Cells become highlighted and added
  14. to the list returned by SELECTED-CELLS, but the CELL-SELECT method
  15. itself does not appear to be called.
  16.  
  17. I had hoped to specialize an :after method for this generic function
  18. (and for cell-deselect) on a subclass of sequence-dialog-item that
  19. would accomplish the behavior of activating a few buttons when and
  20. only when one or more items in a table were selected.  It seems like
  21. CELL-SELECT and CELL-DESELECT are a more logical place to put this
  22. behavior than on VIEW-CLICK-EVENT-HANDLER, since sometimes cells might
  23. be selected or deselected other than by clicking. (i.e. by typing
  24. characters as in the select file dialog, or by program action)
  25.