Sorry!!! 
Problem Solved

Do until not FrontWindow() 
Close Window Frontwindow()
Loop 

Cheers

Tim
> -----Original Message-----
> From: Cen-IT Timothy Chinchen [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 28, 1999 10:23 AM
> To:   MapInfo-L List
> Subject:      MI RE:- Closing all open windows in MB
> 
> Dear All, 
> Just a quick question. 
> I want to have, as part of an MB program, a function that closes all open
> windows.
> To close specific windows and prompt a "workspace save" you can use:-
> 
> Open Table "MyTable"
> Map from MyTable
> Frontwindow( ) = WindowToClose
> .....
> Close Window WindowToClose interactive
> 
> But rather than specifying each window using FrontWindow( ) or WindowID( )
> identifier, does anyone know the syntax for a "Close All Windows"
> regardless
> of an identifier.
> 
> Thanks
> 
> Tim Chinchen (IT Services) Ext 4723
> mailto:[EMAIL PROTECTED]
> 
> 
> 
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to