Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
ABC: Preventing window from closing 2002-09-27 -- Dennis E. Evans Newsgroups: comp.lang.clarion
> I have a 24/7 program that runs in the system tray. If the user right-clicks the icon,
> I am trying this in the Window Kill, before parent call, but the compiler tells me that
>the cycle can't be there.
Is the window that opens an normal template generated or was the close/cancel
button added with the normal standard cancel/close template?
If yes, then put your code in the SetResponse method, before the parent call,
if message(...) = 'do not quit'
select(?SomeControl) or
do something that needs to be done
return
end
if the window is closed some other way then how?
Dennis
Today is November 21, 2024, 3:46 am This article has been viewed 35410 times. Google search has resulted in 9 hits on this article since January 25, 2004.
|
|