home *** CD-ROM | disk | FTP | other *** search
- 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
- From: joel@saffron.CS.Berkeley.EDU (Joel A. Fine)
- Newsgroups: comp.lang.tcl
- Subject: Disappearing scrollbars?
- Date: 16 Dec 1992 23:29:12 GMT
- Organization: University of California, Berkeley
- Lines: 13
- Distribution: world
- Message-ID: <1goe48INN3sg@agate.berkeley.edu>
- NNTP-Posting-Host: saffron.cs.berkeley.edu
-
- Hi,
-
- Is it possible to arrange for a scrollbar which only appears if there is
- enough information in its corresponding window to have reason to scroll?
- E.g. if an entry window is filled with text, have a scrollbar appear, but
- in (say) the normal case, when there is only a little text in the entry window,
- no scrollbar? Or, if a listbox has few enough entries that they are all visible,
- no scrollbar, but if some are invisible, scrollbar appears?
-
- I suppose I could do it manually with bindings and packing/unpacking at the
- right moment, but that seems a bit cumbersome. Any suggestions?
-
- - Joel
-