home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2130 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!agate!saffron.CS.Berkeley.EDU!joel
  2. From: joel@saffron.CS.Berkeley.EDU (Joel A. Fine)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Disappearing scrollbars?
  5. Date: 16 Dec 1992 23:29:12 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 13
  8. Distribution: world
  9. Message-ID: <1goe48INN3sg@agate.berkeley.edu>
  10. NNTP-Posting-Host: saffron.cs.berkeley.edu
  11.  
  12. Hi,
  13.  
  14. Is it possible to arrange for a scrollbar which only appears if there is
  15. enough information in its corresponding window to have reason to scroll?
  16. E.g. if an entry window is filled with text, have a scrollbar appear, but
  17. in (say) the normal case, when there is only a little text in the entry window,
  18. no scrollbar? Or, if a listbox has few enough entries that they are all visible,
  19. no scrollbar, but if some are invisible, scrollbar appears?
  20.  
  21. I suppose I could do it manually with bindings and packing/unpacking at the
  22. right moment, but that seems a bit cumbersome. Any suggestions?
  23.  
  24. - Joel
  25.