Table of contents
TOC
折叠目录
展开目录

SubForm.BorderWidth 属性 (访问)SubForm.BorderWidth Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

可以使用边框宽度属性来指定控件的边框宽度。读取/写入字节You can use the BorderWidth property to specify the width of a control's border. Read/write Byte.

语法Syntax

表达式边框宽度expression. BorderWidth

表达式_一个表示子窗体对象的变量。_expression A variable that represents a SubForm object.

注解Remarks

边框宽度属性使用以下设置。The BorderWidth property uses the following settings.

设置SettingVisual BasicVisual Basic说明Description
细线Hairline00(默认值)系统中可用的最窄边框。(Default) The narrowest border possible on your system.
1 磅到 6 磅1 pt to 6 pt1 到 61 to 6以磅为单位表示的宽度。The width as indicated in points.

在 Visual Basic 中使用该控件的默认控件样式或DefaultControl属性,可以设置此属性的默认值。You can set the default for this property by using the control's default control style or the DefaultControl property in Visual Basic.

若要使用边框宽度属性,特殊效果属性必须设置为平面或阴影和边框样式属性必须设置为透明。如果特殊效果属性设置为任何其他值和/或边框样式属性设置为透明,并设置边框宽度属性,特殊效果属性是自动重置为平板和边框样式属性会自动重置为纯色。To use the BorderWidth property, the SpecialEffect property must be set to Flat or Shadowed and the BorderStyle property must not be set to Transparent. If the SpecialEffect property is set to any other value and/or the BorderStyle property is set to Transparent, and you set the BorderWidth property, the SpecialEffect property is automatically reset to Flat and the BorderStyle property is automatically reset to Solid.

边框宽度的精确度取决于计算机和打印机。在某些系统中,细线的宽度和 1 磅的宽度相同。The exact border width depends on your computer and printer. On some systems, the hairline and 1-point widths appear the same.

另请参阅See also

概念Concepts

子窗体对象SubForm Object

© 2018 Microsoft