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