Freigeben über


MacDesktop Property

Specifies whether a form is placed in the main Visual FoxPro window.

Object.MacDesktop[ = nValue]

Property Values

  • nValue
    The settings for the MacDesktop property are:
    Setting Description
    0 (Default) Automatic. The form is contained in the Visual FoxPro main window according to the setting established with the SET MACDESKTOP command. If SET MACDESKTOP is set to ON, the form exists at the level of the Macintosh desktop; if set to OFF, the form is contained within the Visual FoxPro main window.
    1 Macintosh Desktop. The form exists at the level of the Macintosh desktop, and can be moved and resized independently of the main Visual FoxPro window.
    2 Visual FoxPro Desktop. The form is contained in the Visual FoxPro main window and cannot be moved outside it.

Remarks

Setting the MacDesktop property enables you to override for individual forms the setting established with the SET MACDESKTOP command. SET MACDESKTOP affects user-defined windows (forms) and system windows such as the Browse, View, and Form Designer windows. By default, user-defined windows behave according to the SET MACDESKTOP setting.

The MacDesktop property enables you to control whether your applications resemble Macintosh applications or Windows applications.

See Also

SET KEYCOMP

Applies To: Form