开发者

TreeView ScrollBar bug

开发者 https://www.devze.com 2023-01-28 12:24 出处:网络
I have a treeview in the winform application.... I added a node to it and reduced the width of the treeview such that the horizontal scroll

I have a treeview in the winform application....

I added a node to it and reduced the width of the treeview such that the horizontal scroll comes...

then i deleted the added 开发者_运维问答node.

When i increase the treeview width the scroll comes...

But the scroll should not come..

What is the solution for this condition?


Sounds like a threading issue. Does your code contain any Application.DoEvents()? Do you update the TreeView from the GUI thread? Please show some code.


Use a non-standard 3rd party treeview. The default one has bugs far worse than this.

0

精彩评论

暂无评论...
验证码 换一张
取 消