realbasic-nug
[Top] [All Lists]

Re: Picture Nil

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Picture Nil
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sat, 1 Jun 2002 20:09:38 -0700
At 7:28 PM -0700 6/1/02, Seth Willits wrote:

 > 1) Are you sure Icon.Graphics is nil?

Yes. If I try and do anything with Icon.graphics it dies, and the debugger
shows that it is nil. It's quite strange. I haven't yet tried your
suggestion, if it works then great, thank you, but what in the world is
causing .graphics to be nil?

Lots of pictures don't have a non-nil Graphics property. This is the case for any picture you can't draw into. I missed the start of this thread... why do you find this surprising? Is "Icon" a picture created with NewPicture?

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


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