home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-07-12 | 1.1 KB | 27 lines | [TEXT/EDIT] |
- cat list-in-dialog.hqx
- Date: Sat, 19 May 90 21:14 MDT
- From: Bernie <BSWieser%UNCAMULT.BITNET@forsythe.stanford.edu>
- Subject: list&dialog.hqx
-
- Greetings Maclites, I seemed to have answered my own question. Though some of
- you may already know this, I will explain for others who do not. When using
- the list manager routines, scroll bars, and modal dialogs the scroll bar is
- defined outside the user item rect you define for the list in the dialog
- template. So, when passing events to LClick, you should check to see what
- controls have been used. The following code in LSC:
- o processes a text list in a modal dialog
- o handles the vertical scroll bar with the list
- o uses cursor keys when list handling
- o maintains buttons depending on whether a list cell(s) is selected
- or not
- My new question is, why doesn't the list manager provide cursor key handling
- (or does it, and I just don't know about it)?
-
- Bernie Wieser (BSWieser@UNCAMULT.BITNET)
- Studentus Maximus, Praefectus Vigilis
- Dept. of Psychology, the University of Calgary
- Calgary, Alberta, Canada
-
- ------------------
-
-