标签页中的ListView不会重新绘制. [英] ListView is not repainting in the tabpage.

查看:99
本文介绍了标签页中的ListView不会重新绘制.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

我在选项卡页面中的listView控件的重新绘制时遇到问题.
其实问题是我在一个标签控件中有6个标签页,
在具有列表视图控件的3个选项卡页面中,当我们从一页导航到另一页时,列表视图不再显示,并在该位置显示前一个页面控件.如果我们调整窗体的大小,列表视图控件将正确显示.每次我们需要调整用于显示listview控件的主窗体的大小.
谁能帮我...

问候,
Harish Reddy

Hi friends,

I''ve a problem in the repainting of the listView controls in the tab pages.
Actually the problem is I''ve 6 tab pages in a tab control,
in that 3 tab pages having listview controls, when we navigate from 1 page to another, the listview is not coming and at that place the previous page controls are displaying. If we resize the form the list view controls are displaying properly. for every time we need to resize the main form for displaying the listview controls.
Can any one help me...

Regards,
Harish Reddy

推荐答案

也许我应该等你的回答.BillWooodruffs很好的问题.但我认为这是WinForms.看看Controls Refesh() 方法.如果您已进行某种绘画(听起来不错,因为如果启用了ResizeRedraw,则由于resize会触发重新绘画),请发布您的代码(或重要部分).
Maybe I should wait for your answers t BillWooodruffs VERY GOOD questions. but I assume this is WinForms. Have a look at Controls Refesh() method. If you have some kind of painting in place (sounds so, because resize triggers a repaint if ResizeRedraw is enabled) post your code (or the important parts).


这篇关于标签页中的ListView不会重新绘制.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆