The Screen object refers to whatever form, report, or control currently has the focus within the application. You can use the Screen object and its properties to manipulate the active window no matter which form, report, or control is currently displayed.
The properties of the Screen object are listed in the following table.
Property | Data Type | Description |
---|---|---|
ActiveControl | Control object | Specifies the control that has the focus |
ActiveDataAccessPage | DataAccessPage object | Specifies the data access page that has the focus |
ActiveDatasheet | Datasheet object | Specifies the datasheet that has the focus |
ActiveForm | Form object | Specifies the form that has the focus |
ActiveReport | Report object | Specifies the report that has the focus |
Application | Application objecr | References the current Access application |
MousePointer | Integer | Specifies the type of mouse pointer currently displayed |
Parent | Object | Parent of the object that currently has the focus |
PreviousControl | Control object | Specifies the control that previously had the focus |
18.220.212.186