次の方法で共有


Desktop Property

Specifies whether a form can appear anywhere on the Windows desktop or is contained in the main Visual FoxPro window. Available at design time; read-only at run time.

Object.Desktop[ = lExpr]

Return Value

  • lExpr
    The settings for the Desktop property are:

    Setting

    Description

    True (.T.)

    The form can be anywhere on the Windows desktop.

    False (.F.)

    (Default) The form is contained in the main Visual FoxPro window.

Remarks

Applies To: Form Object | _SCREEN System Variable

The Desktop property is ignored if the ShowWindow property is set to 2 – As Top-Level form.

You should not use the Desktop property when you create Single Document Interface (SDI) applications in which you might want to hide the Visual FoxPro desktop window (_SCREEN). Instead, set the ShowWindow Property setting to 2 to create a top-level form.

See Also

Reference

AlwaysOnBottom Property

AlwaysOnTop Property

AutoCenter Property

MaxHeight Property

MaxLeft Property

MaxTop Property

MaxWidth Property

MinHeight Property

MinWidth Property

ShowWindow Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)