On Thu, 13 Jan 2000, Ivan Lucena wrote:

> How can I configure a Scrollbar to be automatically invisible and
> visible
> only when it's necessary?

I haven't done it myself, and all I can do for you is point you to these
concepts and commands:

o pack forget .scrollbar 
      (hides it)
o pack .scrollbar -side ...etc... -after .xxx 
      (puts it back; -after/-before optional to force it to the right
       place.)

If you're not using the pack manager for the scrollbar, you need something
similar but I can't help.

o subcommands like xview/yview tell you wether part of the widgets data
  is hidden or not (ie if you need a scrollbar)

...RickM...

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to