home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6458 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.1 KB

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