` Window manager closing sequence (Jon Waterhouse) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Window manager closing sequence
1998-07-20 -- Jon Waterhouse
 
Newsgroups: topspeed.products.c4 >On a standard updateform, I need to do some extra updating after a records >is inserted. >If I put the embeds on the OK button with priority last, then its stil >executed before the insert >actually happens. Here's a repeat of a thing I posted a few weeks ago. With a little digging in the ABWINDOW.CLW file I came up with the following sequence of events. These are WindowManager methods. In TakeAccepted if the control is the control that has been designated the OkControl, the PostCompleted method is called. PostCompleted calls the NonStop acceptance loop which posts Event:Completed when it is finished (or posts event completed immediately for deletes). The TakeWindowEvent traps the EVENT:Completed and calls the TakeCompleted method. The TakeCompleted method saves the history buffer, then does the real insert/change delete based on the value of ThisWindow.Request. So maybe you should put your stuff at the end of the TakeCompleted WindowManger method? ---------------------- Jon Waterhouse Andy Rowe Consultants, St. John's NF


Today is November 21, 2024, 3:49 am
This article has been viewed 35375 times.
Google search has resulted in 9 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: