Can you expand on it Joe... -----Original Message----- From: [EMAIL PROTECTED] To: [email protected] Sent: 3/19/2007 1:10 PM Subject: Re: Adding a new object to a dictionary [solved]
On Mar 19, 2007, at 19:02 UTC, Octave Julien wrote: > I think I solved my problem. I needed to add : > aTextesActifs = new dictionary > in the App's activate event. Quite right. > I didn't think that was necessary, since the dictionary was declared > as such as a property. Yes indeed, you declared a property that is a reference to a Dictionary object. But which dictionary object, in particular, does it refer to? Initially it doesn't refer to anything (its value is Nil), until you assign it to something. This is very fundamental to how object references work in REALbasic, so if you still don't understand what's going on, let's discuss it further until it becomes clear. (There are probably others on the list who are just as confused about it, so it's useful discussion.) Best, - Joe P.S. When you reply to any post, please trim all but the key part you're replying to, as I've done here -- nobody needs to see the entire previous message (footers and all!) repeated again. Thanks! -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
