WindowCount
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Application.WindowCount as a replacement. |
Method
Returns the number of open windows.
Syntax
result=WindowCount
Part | Type | Description |
---|---|---|
result | Integer | The number of open windows. |
Notes
The WindowCount function returns the number of open windows. This includes any windows that are invisible. If called during a window's Open event, it includes that window. If called during a window's Close event, it does not include that window.
Examples
See the Window function for an example.