Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 23, 2024, 2:11 am This article has been viewed 35413 times. Google search has resulted in 9 hits on this article since January 25, 2004.
|
|