这是什么控制? [英] What control is this?

查看:74
本文介绍了这是什么控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看看我制作的这个截图:
http://www.subdir.net/myFiles/line_ss.jpg


我已经圈出了分隔表格不同部分的两条线。 br />
有人知道如何在VB .NET中创建相同的行吗?看看各地

但找不到任何看起来像的东西,唯一的东西是

close是一个只有宽度但没有高度的组合框,但是那个

看起来并不太好看。如果你有关于如何做到这一点的想法,请告诉我。

Take a look at this screenshot that I''ve made:
http://www.subdir.net/myFiles/line_ss.jpg

I''ve circled the two lines that separate different sections of the form.
Does anybody know how to make those same lines in VB .NET? Look all over
but can''t find anything that looks like it, the only thing that comes
close is a group box that only has a width but no height, but that
doesn''t look too good around the edges. Please let me know if you have
an idea on how to make this.

推荐答案

文章< Mp * *******************@comcast.com> ;, ma ***** @ yahoo.com

说...
In article <Mp********************@comcast.com>, ma*****@yahoo.com
says...
看看我做过的截图:
http://www.subdir.net/myFiles/line_ss.jpg

我已经圈出了分隔表单不同部分的两行。
有人知道如何在VB .NET中创建相同的行吗?看看各处
但是找不到任何看起来像它的东西,唯一的东西是
关闭是一个只有宽度但没有高度的组合框,但是
不会边缘看起来太好了。如果你有关于如何制作这个的想法,请告诉我。
Take a look at this screenshot that I''ve made:
http://www.subdir.net/myFiles/line_ss.jpg

I''ve circled the two lines that separate different sections of the form.
Does anybody know how to make those same lines in VB .NET? Look all over
but can''t find anything that looks like it, the only thing that comes
close is a group box that only has a width but no height, but that
doesn''t look too good around the edges. Please let me know if you have
an idea on how to make this.




这是一个GroupBox。 尺寸是指尺寸。属性包含宽度和高度。

将高度设置为4会给出您在图像中显示的外观。


-

Patrick Steele

Microsoft .NET MVP
http:/ /weblogs.asp.net/psteele


我之前已经完成了groupbox的事情并且不喜欢结果。我自己用GDI绘制了玩具(看起来有点矫枉过正)。我在这里等待其他人会做的



格雷格


最大 <毫安***** @ yahoo.com>在消息中写道

新闻:Mp ******************** @ comcast.com ...
I''ve done the groupbox thing before too and didn''t like the results. I''ve
toyed before with drawing it myself with GDI (seemed like overkill). I
awaiting to here what others would do.

Greg

"Max" <ma*****@yahoo.com> wrote in message
news:Mp********************@comcast.com...
Take看看我制作的这个截图:
http: //www.subdir.net/myFiles/line_ss.jpg

我已经将表格中不同部分分开的两条线圈起来。
有谁知道如何在VB .NET中使用相同的行?看看各处
但是找不到任何看起来像它的东西,唯一的东西是
关闭是一个只有宽度但没有高度的组合框,但是
不会边缘看起来太好了。如果你有关于如何做到这一点的想法,请告诉我。
Take a look at this screenshot that I''ve made:
http://www.subdir.net/myFiles/line_ss.jpg

I''ve circled the two lines that separate different sections of the form.
Does anybody know how to make those same lines in VB .NET? Look all over
but can''t find anything that looks like it, the only thing that comes
close is a group box that only has a width but no height, but that
doesn''t look too good around the edges. Please let me know if you have
an idea on how to make this.



Patrick Steele [MVP]写道:
Patrick Steele [MVP] wrote:
在文章< Mp ******************** @ comcast.com> ;, ma ***** @ yahoo.com
说...
In article <Mp********************@comcast.com>, ma*****@yahoo.com
says...
看一下我制作的这个截图:
http://www.subdir.net/myFiles/line_ss。 jpg

我已经圈出了分隔表单不同部分的两行。
有人知道如何在VB .NET中创建相同的行吗?看看各处
但是找不到任何看起来像它的东西,唯一的东西是
关闭是一个只有宽度但没有高度的组合框,但是
不会边缘看起来太好了。如果你有关于如何制作这个的想法,请告诉我。
Take a look at this screenshot that I''ve made:
http://www.subdir.net/myFiles/line_ss.jpg

I''ve circled the two lines that separate different sections of the form.
Does anybody know how to make those same lines in VB .NET? Look all over
but can''t find anything that looks like it, the only thing that comes
close is a group box that only has a width but no height, but that
doesn''t look too good around the edges. Please let me know if you have
an idea on how to make this.



这是一个GroupBox。 尺寸是指尺寸。属性包含宽度和高度。
将高度设置为4会给出您在图像中显示的外观。


It is a GroupBox. The "Size" property contains both Width and Height.
Setting the Height to 4 gives the appearance your showed in your image.




似乎对我不起作用,这就是我得到的:
http:// www .subdir.net / myFiles / line_ss2.jpg


你看到右边的一小块开始下降。那一边

总是看起来像我设定的高度(4,3,2等等)。



Doesn''t seem to work for me, here''s what I get:
http://www.subdir.net/myFiles/line_ss2.jpg

You see a little piece on the right that starts going down. That side
always looks like that no matter what height I set (4,3,2, etc...).


这篇关于这是什么控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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