home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!psuvax1!psuvm!f0o
- Organization: Penn State University
- Date: Tue, 10 Nov 1992 09:04:38 EST
- From: <F0O@psuvm.psu.edu>
- Message-ID: <92315.090438F0O@psuvm.psu.edu>
- Newsgroups: comp.lang.pascal
- Subject: Question about scroll bars in TPW 1.0
- Lines: 15
-
- I've found what seems to be a quirk with the scroll bar controls. In
- the scroll app example program, if I change the XRange and YRange values
- to 0 in the init constructor, the scroll bars don't show up. So far all
- is ok. I've read this is what is supposed to happen. However, when I
- set the XRange and YRange values to 0 in the init method in a program I
- wrote, the scroll bars still appear! My code is:
-
- Scroller := New(PScroller, Init(@Self, 0, 0, 0, 0));
-
- I set them all to 0's at the start since I don't yet know what they
- should be until the user loads a file. When I try this same line of code
- in the scrollapp example program, they don't show up.
- Has anyone else ran into this? Anyone have a clue as to what is going on?
-
- [Tim]
-