realbasic-nug
[Top] [All Lists]

Re: custom class as property - access results in Nil object exception?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: custom class as property - access results in Nil object exception?
From: Will Leshner <will dot leshner at gmail dot com>
Date: Mon, 28 Feb 2005 14:59:49 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mxGt2NUI+9QUIGPnE+x+bOo0fl4jnIllbzg2x/QkWM8IKw+YwxQDPy/xhEvmMWb1dtaA/RWBTYMQgaw2GH73cOzsUFtAG/x6dOsA16gwYVY+W64N53++GEhgS+Gve/F38nlfgsWjya64MUB3IWKxijGhXaaeDmhiz4oJaz7qvss=
References: <BE494D66 dot 1361E%markus_winter at blueyonder dot co dot uk>
On Mon, 28 Feb 2005 22:36:22 +0000, Markus Winter
<markus_winter at blueyonder dot co dot uk> wrote:

> in the text change event of the editfield but get a Nil exception error.
> 
> Where do I go wrong? I can access other (non-custom) properties that I added
> to the window just fine ...

A NilObjectException means you are trying to access methods or
properties of an object through a reference that is NIl. In this case,
my guess is that ThisPlasmid is Nil. Did you in fact create an object
for ThisPlasmid to refer to?

-- 
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
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>

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