WDOCKABLE( ) Function

Returns the dockable state of the specified window

WDOCKABLE(cWindowName [, lEnable])

Parameters

  • cWindowName
    Specifies the name of the window to evaluate.

  • lEnable
    Specifies the dockable state for the window specified with the cWindowName parameter. If the specified window does not support docking, then Visual FoxPro ignores the lEnable parameter.

Return Value

Logical data type. Returns the current dockable state for the specified window.

Remarks

The WDOCKABLE( ) function always returns False (.F.) for undockable windows. Use the WDOCKABLE( ) function on Visual FoxPro windows that support docking. For a list of dockable Visual FoxPro windows, see How to: Dock Windows.

See Also

Other Resources

Windows (Visual FoxPro)

Functions

Language Reference (Visual FoxPro)