tk4.0/scrollbar.tcl and scrollbar widget delta 
Author Message
 tk4.0/scrollbar.tcl and scrollbar widget delta

When I run the demo widget for Tk4.0 and try to slide the scrollbar
I get:

  bad option "delta": must be activate, cget, configure, fraction, get,
  identify, or set
      while executing
  "$w delta [expr $x - $tkPriv(pressX)] [expr $y - $tkPriv(pressY)]"
      invoked from within
  "set delta [$w delta [expr $x - $tkPriv(pressX)] [expr $y -
      (procedure "tkScrollDrag" line 7)
      invoked from within
  "tkScrollDrag .s 9 289"
    (command bound to event)

It makes perfect sense to me.

scrollbar.tcl has this:
  set delta [$w delta [expr $x - $tkPriv(pressX)] [expr $y - $tkPriv(pressY)]]

at around line 231 and $w must be a scrollbar widget. But what is the
code supposed to be?

Fri, 26 Jun 1998 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Tk4.1 Entry widget <-> scrollbar interaction

2. Problem "bad option delta" with Scrollbar

3. Two canvas scrolled simultaneously by the same scrollbar (an UNIQUE scrollbar and TWO or more canvas)

4. How to create in TCL-TK a widgets list with scrollbar

5. Newbie Question: Tk4.0 Canvas and Scrollbar working together

6. scrollbar bug in Tk4.0 ?

7. Tk4.0b4 bug: text/scrollbar interaction

8. Tk4.0b2: Improvement of behavior Scrollbar and Scale

9. Can there be scrollbar attached to group widget

10. Two canvases (widgets), one scrollbar..

11. text widget must follow end of text only if associated scrollbar is at bottom

12. tabnotebook, text and scrollbar widget problem


Powered by phpBB® Forum Software