home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5228 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.1 KB

  1. Path: sparky!uunet!usc!rutgers!njitgw.njit.edu!hertz.njit.edu!exk6968
  2. From: exk6968@hertz.njit.edu (Kristiansen Eivind)
  3. Newsgroups: comp.lang.pascal
  4. Subject: TP6.0 and Windows and Subviews
  5. Message-ID: <1992Sep7.172556.4455@njitgw.njit.edu>
  6. Date: 7 Sep 92 17:25:56 GMT
  7. Sender: news@njit.edu
  8. Organization: New Jersey Institute of Technology, Newark, N.J.
  9. Lines: 32
  10. Originator: exk6968@hertz.njit.edu
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. I am trying to make a window in TPVision with a lot of subviews that are
  14. able to be selectable, and respond to mouse clicks and return keypress.
  15. When the user presses return or clicks with the mouse, the subview
  16. should be able to know that they are called and respond. (I don't have
  17. any problems with the responding part). Also it would have been nice if
  18. I could move the cursor in all directions on the screen to all the
  19. subviews  I tried doing this using buttons, but I found it difficult to
  20. be able to have multiple text lines on the button and I was not able to
  21. move the right button all the time without tabbing throught many of the
  22. other buttons.
  23.  
  24. Here is an attempt of a drawing.
  25.  
  26.   +-------------------------------------------------------------+
  27.   |                                                             |
  28.   |   +------+ +------+                            +------+     |
  29.   |   |      | |      |  ..........................|      |     |
  30.   |   |      | |      |       ^                    |      |     |
  31.   |   +------+ +------+       |                    +------+     |
  32.   |       .                <--*-->                              |
  33.   |       .                  \|/                                |
  34.   |   +------+                                     +------+     |
  35.   |   |      | ....................................|      |     |
  36.   |   |      |                                     |      |     |
  37.   |   +------+                                     +------+     |
  38.   +-------------------------------------------------------------+
  39.  
  40. I dont need the frame of a window, but I don't know of any better way
  41. to show that the subview is selectable, or at least show that one
  42. subview is selected.
  43.  
  44. Maybe someone has a good idea?
  45.