JavaScript Editor js editor     Web development 



Main Page

Returns the name of the window that was active prior to the current window or determines whether the specified window was active prior to the current window.

WLAST([WindowName])

Parameters

WindowName


Specifies a window that WLAST(В ) evaluates. In Visual FoxPro, you can also specify the name of a toolbar. WLAST(В ) returns true (.T.) if the specified window was active prior to the current window; otherwise false (.F.) is returned. False (.F.) is also returned if the window you specify doesn't exist. The name of the window that was active prior to the current window is returned if you omit WindowName.

Return Value

Character or Logical

Remarks

WLAST(В ) returns the empty string if the window that was active prior to the current window is the Debug, Trace, or Command window. Program execution isn't affected by bringing these windows forward when you are debugging a program that uses WLAST(В ).

See Also



JavaScript Editor js editor     Web development