Code Comments
Programming Forum and web based access to our favorite programming groups.Hi How do I close all the open windows in my Clarion application (except the main frame itself?) I have tried the following code but it doesn't close windows on the same thread. It close windows on different threads though: loop x#=1 to 100 post(event:closewindow,,x#) end Using Clarion 6.0. Thanks in advance. Leonard
Post Follow-up to this messageHi
There can be problems with browses that call forms that call lookups that
call forma that are open. If its the frame you want,
the easiest way might be Chain('Myexe.exe') which closes all files and
windows, exits, and calls the exe you nominate.
HTH
Dave Beggs
"Leonard" <leonardg@otb.co.za> wrote in message
news:c2hq0n$h5f$1@ctb-nnrp2.saix.net...
> Hi
>
> How do I close all the open windows in my Clarion application (except the
> main frame itself?)
>
> I have tried the following code but it doesn't close windows on the same
> thread. It close windows on different threads though:
> loop x#=1 to 100
> post(event:closewindow,,x#)
> end
>
> Using Clarion 6.0.
>
> Thanks in advance.
>
> Leonard
>
>
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.