gettingstarted
[Top] [All Lists]

Re: [RB List] NilObjectException?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: [RB List] NilObjectException?
From: Phil M <phil at mobleybros dot com>
Date: Tue, 22 Feb 2005 14:10:40 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <001801c50fb9$7ff00550$0100a8c0 at bremerb7sqedlr> <a06200748be3186f28bcf at [10 dot 10 dot 13 dot 4]> <4216572D dot DBCDB2F8 at online dot no> <3708cc77eab40f3102460488f5ebfefd at freaksw dot com> <ec5c706d70d8101ee4acb0fabf69ce11 at shaw dot ca> <42166592 dot 389BF02 at online dot no> <a06200718be3c205210c7 at [10 dot 10 dot 13 dot 4]> <4218648E dot 2394C438 at online dot no> <a06200703be3e64982cef at [10 dot 10 dot 13 dot 4]> <4218ED5B dot 25A3B7AD at online dot no> <a06200708be3eb033e601 at [10 dot 10 dot 13 dot 4]> <421B9684 dot 4DFC1551 at online dot no> <4cf15d148b5ce7dade9147c08246181d at mobleybros dot com> <500df95b27df8cbebfd7c85e0ff16a17 at mobleybros dot com> <421BA944 dot EE590611 at online dot no>
On Feb 22, 2005, at 1:51 PM, Eirik Karlsen wrote:

If my suspicions are correct then this particular CheckBox's
Event/Open happen before the Window's Events/Open.

This is true as far as I know.

There is some fuzzy info as to what is officially the order of events. Technically the order is undefined, but I do believe that Window Open events occur after it's controls.

If you really must find out the order (of course the order is undefined), just add a logging mechanism to find out which control event is fired first. You can use System.DebugLog although I do not know how to use that on Windows (Mac OS X sends it to the Console). Or you can setup a method to write the messages to a text file.

BTW, have you signed up for the NUG list yet? There is a lot more traffic there but I certainly learn a lot from questions other users post and their answers.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>