home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rutgers!njitgw.njit.edu!hertz.njit.edu!exk6968
- From: exk6968@hertz.njit.edu (Kristiansen Eivind)
- Newsgroups: comp.lang.pascal
- Subject: TP6.0 and Windows and Subviews
- Message-ID: <1992Sep7.172556.4455@njitgw.njit.edu>
- Date: 7 Sep 92 17:25:56 GMT
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 32
- Originator: exk6968@hertz.njit.edu
- Nntp-Posting-Host: hertz.njit.edu
-
- I am trying to make a window in TPVision with a lot of subviews that are
- able to be selectable, and respond to mouse clicks and return keypress.
- When the user presses return or clicks with the mouse, the subview
- should be able to know that they are called and respond. (I don't have
- any problems with the responding part). Also it would have been nice if
- I could move the cursor in all directions on the screen to all the
- subviews I tried doing this using buttons, but I found it difficult to
- be able to have multiple text lines on the button and I was not able to
- move the right button all the time without tabbing throught many of the
- other buttons.
-
- Here is an attempt of a drawing.
-
- +-------------------------------------------------------------+
- | |
- | +------+ +------+ +------+ |
- | | | | | ..........................| | |
- | | | | | ^ | | |
- | +------+ +------+ | +------+ |
- | . <--*--> |
- | . \|/ |
- | +------+ +------+ |
- | | | ....................................| | |
- | | | | | |
- | +------+ +------+ |
- +-------------------------------------------------------------+
-
- I dont need the frame of a window, but I don't know of any better way
- to show that the subview is selectable, or at least show that one
- subview is selected.
-
- Maybe someone has a good idea?
-