摘要: proc autoscroll { scrollbar first last} { if {$first <= 0 && $last >= 1} {grid remove $scrollbar } else {grid $scrollbar } $scrollbar set $first $last}itk_component add viewcryst_scroll {scrollbar $itk_interior.iscroll \ -command [code $this component treectrlcom yview] \ -orient verti 阅读全文
posted @ 2011-09-20 15:24 greencolor 阅读(135) 评论(0) 推荐(0)