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: Chris Halford <chris at icctools dot com>
Date: Thu, 3 Jul 2003 12:58:32 -0600

On Thursday, July 3, 2003, at 12:48  PM, Joseph J. Strout wrote:

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.


Yes it would. But neither seems to give me a different response, so that doesn't appear to be the issue.

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.

I'm going to first try to make sure that there isn't an obvious reason that the image may be bad ( whatever bad means )

C.



---
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>