For Programmers: Free Programming Magazines  


Home > Archive > Clarion > March 2004 > Close all open windows ??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Close all open windows ??
Leonard

2004-03-26, 11:01 pm

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


David S. Beggs

2004-03-26, 11:01 pm

Hi
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
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com