WVISIBLE Function (String)
|
|
Determines if the specified window has been activated and isn't hidden.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.24 GA
Syntax FUNCTION WVISIBLE(
windowName AS STRING
) AS LOGIC
public static bool WVISIBLE(
string windowName
)
Request Example
View SourceParameters
- windowName
- Type: String
Return Value
Type:
Logic
Logical
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.
Examples1ACTIVATE WINDOW View
2? WVISIBLE( "View" )
3DEACTIVATE WINDOW View
4? WVISIBLE( "View" )
See Also