First of all I have to apologize for my off topic question, but I am
working in vtcl and I haven't any other mail list related to Tcl/Tk.

Please help me with an answer to my silly question.
I am having a 27 row canvas inside a 97 rows collection and my first row
is 12 (for example)

How should I set a vertical scrollbar ?

.mw.canvas set [expr 12.0/97.0] [expr (97.0-27.0-12.0)/97.0]

Generally speaking the variables should be : toprec, nrecs, visiblerecs

Thanks in advance

Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
---------------------------------------------------------------------------
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