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

WebBrowserControl.Visible 属性 (访问)WebBrowserControl.Visible Property (Access)

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

返回或设置该对象是否可见。读/写boolean 类型的值Returns or sets whether the object is visible. Read/write Boolean.

语法Syntax

表达式可见expression. Visible

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

注解Remarks

若要在打印时隐藏对象,请使用何时显示属性。To hide an object when printing, use the DisplayWhen property.

可以使用Visible属性来隐藏窗体或报表上的控件, Current事件发生时运行宏或事件过程中包含的属性。例如,您可以显示或隐藏祝贺信息销售人员的月销售总额在销售报表中,根据销售总额旁。You can use the Visible property to hide a control on a form or report by including the property in a macro or event procedure that runs when the Current event occurs. For example, you can show or hide a congratulatory message next to a salesperson's monthly sales total in a sales report, depending on the sales total.

另请参阅See also

概念Concepts

WebBrowserControl 对象WebBrowserControl Object

© 2018 Microsoft