From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Returns the number of open windows.
The WindowCount property includes any windows that are invisible. If called during a window's Opening event, it includes that window. If called during a window's Closing event, it does not include that window.
|This function returns only the number of DesktopWindows. Windows of the original Window class will not be included in the number returned.|
See the Window function for an example.