Re: notebook+scale strange behaviour....
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: notebook+scale strange behaviour....

From: Robert Heller <heller@deepsoft.com>
Date: Sun Jul 31 2005 - 21:17:05 CEST

  "nicolas" <sl1200mk2@gmail.com>,
  In a message on 31 Jul 2005 11:45:54 -0700, wrote :

"> hi robert
"> i've done that
"> canvas .c
"> scale .c.s
">
"> .c create window 0 0 -window .c.s
">
"> but my problem still appears

Did you update the scrollregion?

.c configure -scrollregion [.c bbox all]

In order for the scrollbars for a canvas object to work (properly), the
canvas needs to have its scrollregion set properly. From 'man n canvas':

       Command-Line Name:-scrollregion
       Database Name: scrollRegion
       Database Class: ScrollRegion

              Specifies a list with four coordinates describing
              the left, top, right, and bottom coordinates of a
              rectangular region. This region is used for
              scrolling purposes and is considered to be the
              boundary of the information in the canvas. Each of
              the coordinates may be specified in any of the
              forms given in the COORDINATES section below.

"> i've solve it by putting the problematic tab on the first page....
"> not glorious but now i have not this problem again.
">
"> thanks for your post
"> nicolas
">
">

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

                                                                                                                           
Received on Thu Sep 29 14:28:11 2005