Share via


_SCREEN System Variable

Specifies properties and methods for the main Visual FoxPro window.

_SCREEN.PropertyName [= eValue]

-or-

_SCREEN.MethodName

Parameters

  • PropertyName
    Specifies a property for the main Visual FoxPro window.
  • eValue
    Specifies a value for the property.
  • MethodName
    Specifies a method to execute for the main Visual FoxPro window.

Remarks

_SCREEN allows the main Visual FoxPro window to be manipulated as an object. Events procedures cannot be created for _SCREEN. _SCREEN is an object type system variable.

In this version of Visual FoxPro, the Top, Height, Left, Width, and hWnd properties of _Screen apply only to the Visual FoxPro client area (the area where text can be displayed). In prior versions, the Top and Left properties referenced the entire Visual FoxPro application window. CLEAR WINDOWS or RELEASE WINDOWS also sets ReleaseType to 1. Closing the Windows Operating System will set ReleaseType to 2.

Note   The value returned by _SCREEN.ReleaseType can differ from the value returned by other forms because it is the main Visual FoxPro window.

See Also

_SCREEN System Variable Properties, Methods and Events | MODIFY WINDOW | Form Object