Makes sense, thanksOn Aug 21, 2006, at 2:51 PM, Steven Hedgepeth wrote:>>> I wanted to determine which fired first, a window's activate event > or a window's open event. To do this I created a window with one > pushbutton on it (Exit) and placed MsgBox statements in both the > activate and open events for the window. The window's activate > event fires first followed by the window's open event. However, > following the open event, 34 more activate events occur after > which the window freezes. Can anyone explain why the windows > activate event would continue to occur after the window opens, why > precisely 34 more times, and why the window freezes after > completing the activate events?Activate occurs any time the windows becomes "active"So, you have a msgbox that comes up, you dismiss the msgbox and then the window becomes active again. And so on.> Will someone please verify what I've described above? After > deleting the window's activate event MsgBox, I placed a MsgBox > statement in the pushbutton's open event. The pushbutton's open > event fired before the window's open event. It seems to me that > the window should open prior to the pushbutton opening. What > concept, obvious or otherwise, am I missing?You need to write code that does NOT depend on the event of events as they can occur in an order that is somewhat unpredictable.The open event for controls on a window will occur before the Window Open event
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
