面板在移动时消失 [英] Panel Disapear when moving

查看:70
本文介绍了面板在移动时消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VB Express Edition 2008开发一个项目。我有一个问题,当我在我的vb表单上放置一个面板时,面板显示更好但是当我尝试将它从一个点移动到另一个点时,面板消失当我在其上放置文本框或标签时,面板会显示文本框和标签。但是当我尝试移动或复制文本框或文本标签时,它会消失。请让任何经验人员帮助我。 div class =h2_lin>解决方案

面板不应该是可见的 - 除非你希望用户看到它在哪里 - 所以它不会在设计器中显示,除了作为虚线边框。如果你试图将它移到实际形状之外,它们只会完全消失。



有两种方法可以让它更加明显:

)给它一个除None以外的BorderStyle属性。您(和您的用户)将始终可以看到它。

2)从属性平移顶部的下拉列表中按名称选择它。你将能够看到它(暂时,你不会在你点击任何其他东西时立即)



要移动面板,选择它,然后使用出现在右上角的四向箭头。


I m working on a project using VB Express Edition 2008.I have a problem that when i place a panel on my vb form, the panel show better but when i try to move it from one point to another , the panel disappear and not be visible.Further when i place a textbox or label on it , the panel shows the textbox and label.But when i try to move or copy the textbox or text label it disappear.Please let me help by any experience person.

解决方案

Panels aren't supposed to be that visible - unless you want the user to see where it is - and so it doesn't "show" in the designer, except as a dashed border. They only "disappear" completely if you try to move it outside the actual form.

There are two ways to make it more visible:
1) Give it a BorderStyle property other than "None". You (and your user) will be able to see it at all times.
2) Select it by name from the drop-down list at the top of the Properties pan. You will be able to see it (temporarily, you won't as soon as you click on anything else)

To move a panel, select it, and use the four-way arrow that appears in the top right.


这篇关于面板在移动时消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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