Screen Property

Microsoft Access Visual Basic

Screen Property

       

You can use the Screen property to return a reference the Screen object and its related properties. Read-only.

expression.Screen

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

This property is available only by using Visual Basic and is read-only. 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