WVISIBLE( ) Function

See Also

Determines if the specified window has been activated and isn't hidden.

Syntax

WVISIBLE(WindowName)

Returns

Logical

Arguments

WindowName

Specifies the name of the window WVISIBLE( ) evaluates. In Visual FoxPro, you can also specify the name of a toolbar. You can also include the empty string in WindowName to specify the main Visual FoxPro window.

Remarks

WVISIBLE( ) returns true (.T.) if the specified window is shown or activated and isn't hidden. Windows are shown and activated with SHOW WINDOW and ACTIVATE WINDOW.

WVISIBLE( ) returns false (.F.) if the window has not been activated, has been hidden with HIDE WINDOW, has been deactivated with DEACTIVATE WINDOW, or doesn't exist.