Share via


WVISIBLE( ) Function

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

WVISIBLE(WindowName)

Return Values

Logical

Parameters

  • 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.

See Also

ACTIVATE WINDOW | DEFINE WINDOW | WEXIST( ) | WONTOP( ) | WOUTPUT( )