realbasic-nug
[Top] [All Lists]

Re: why would this crash?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: why would this crash?
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 3 Jul 2003 11:48:41 -0700
At 12:45 PM -0600 7/3/03, Chris Halford wrote:

I have a picture that I'm trying to get a colour from. I've set it as the backdrop of a canvas. The canvas' backdrop graphics cannot be accessed, and the only reason I tried to do that is because the original picture object's graphics cannot be accessed either.

Well, the original picture reference and the canvas backdrop reference (after the assignment) are just two references to the same picture. It would be very disturbing if this picture had a graphics object or not depending on how you access it.

Checking for p.grahics = nil bombs me. Bomb meaning that no exception handler is touched - the application stops and no further code is executed.

I think you should send in a bug report.

Thanks,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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