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

Application.Screen 属性 (访问)Application.Screen Property (Access)

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

您可以使用屏幕属性Screen对象及其相关的属性,并返回一个引用。只读的。You can use the Screen property to return a reference the Screen object and its related properties. Read-only.

语法Syntax

表达式屏幕expression. Screen

表达式_一个表示应用程序对象的变量。_expression A variable that represents an Application object.

注解Remarks

使用Screen对象来引用特定窗体、 报表或控件具有焦点。Use the Screen object to refer to a particular form, report, or control that has the focus.

示例Example

下面的示例演示了如何将光标更改为沙漏图标并随后复原,以此表示正在发生某一后台活动。The following example demonstrates how to change the cursor to an hourglass and back again to signify that some background activity is occurring.

Application.Screen.MousePointer = 11 ' Hourglass' Do some background activity.Application.Screen.MousePointer = 0 ' Back to normal

另请参阅See also

概念Concepts

Application 对象Application Object

© 2018 Microsoft