Re: Does scrollbar supports text window containing frames?
- From: coolmaster79@xxxxxxxxxxxxxx
- Date: Thu, 29 Nov 2007 02:29:04 -0800 (PST)
On Nov 29, 11:15 am, coolmaste...@xxxxxxxxxxxxxx wrote:
Hi all,
in my notebook i am packing an array of frames in a text window with
a scrollbar.i tried to move the scroll bar when frames are
icreased,but it doesnt support.
when i pack labels or buttons widgets individually , it works. but
when i pack the same labels and widgets into a frame it doesn't
support
can any one explain about its behaviour.
thanks in advance
--------
set w [Notebook:frame .n $field ]
text $w.t -state disabled -yscrollcommand [list $w.vsb set] -width
80
pack $w.t -side left -fill both -expand 1
scrollbar $w.vsb -orient vertical -command [$w.t yview]
pack $w.vsb -side left -fill y
i am using Mr.D.Richard Hipps notebook
small correction in the code
text $w.t -state disabled -yscrollcommand [list $w.vsb set] -width80
pack $w.t -side left -fill both -expand 1
scrollbar $w.vsb -orient vertical -command [list $w.t yview]
pack $w.vsb -side left -fill y
.
- References:
- Does scrollbar supports text window containing frames?
- From: coolmaster79
- Does scrollbar supports text window containing frames?
- Prev by Date: Does scrollbar supports text window containing frames?
- Next by Date: Re: tclcurl examples please
- Previous by thread: Does scrollbar supports text window containing frames?
- Next by thread: Re: Does scrollbar supports text window containing frames?
- Index(es):