Steps to reproduce the issue:
Start VFP9
RightClick on TitleBar of Command Window and UnCheck Dockable.
Start Foxtabs (DO C:\Program Files\Microsoft Visual FoxPro 9\Thor\Tools\Apps\FoxTabs\FoxTabs.app)
Open a Form (Modify form test2)
Now in Foxtabs "Click options arrow and click Close All" or in Foxtabs RightClick on 'Form Designer - test2.scx' and Click Close All"
and VFP9 started blinking continuously, we can not do nothing only Ctrl+Alt+Delete to close the VFP9.
Please fix this issues
Warm regards,
mk.
Comments: ** Comment from web user: mk_common **
Below code working perfect
```
** Foxtabs.Foxtabstoolbar.releasewindow
Lparameters lpcWindowName As String
Local oFoxTab As Object
Local lnWindowCount
* Release all windows when "ALL" is passed
Local lnWindowCount, lpcWindowName
*:Global oFoxTab
If m.lpcWindowName = "ALL"
Do While oFoxTabs.FoxTabsManager.FoxTabs.Count > 0
* Obtain a reference to the first FoxTab
**** --- Below Changes in Single line can Solve this Issue, Changed from 1 to 2 and no issue now
*** I think we can not close the Command Window, Only Hide, so always first window is Command Window and we need to start from Second Window
**** -------- Start ------
**** oFoxTab = oFoxTabs.FoxTabsManager.FoxTabs.Item(1)
oFoxTab = oFoxTabs.FoxTabsManager.FoxTabs.Item(2)
**** -------- End ------
* Strip the has changes flag
lpcWindowName = Chrtran(m.oFoxTab.WindowName, "*", "")
If Not Empty(m.lpcWindowName)
* Recursion call
This.ReleaseWindow(m.lpcWindowName)
Endif
Enddo
Return
Endif
```
Warm regards,
mk.