滚动条上不改变滚动值更新 [英] Scrollbar does not update on changing the scroll value
本文介绍了滚动条上不改变滚动值更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当设定 VerticalScroll.Value
在面板
与自动滚屏
设置为真
,滚动位置相应地改变,但大拇指的位置没有。我是否需要以某种方式更新滚动条(的Invalidate(TRUE)
在面板上不工作)?任何想法?
When setting VerticalScroll.Value
in a Panel
with AutoScroll
set to true
, the scroll position changes accordingly but the position of the thumb does not. Do I need to update the scrollbar somehow (Invalidate(true)
on the panel does not work)? Any ideas?
推荐答案
尝试调用<一href="http://msdn.microsoft.com/en-us/library/z8aw0sd8.aspx#Y342"><$c$c>.PerformLayout();$c$c>
这篇关于滚动条上不改变滚动值更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文