realbasic-nug
[Top] [All Lists]

Re: Displaying jpgs in a canvas

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Displaying jpgs in a canvas
From: Ronald Vogelaar <rovo at l4a dot info>
Date: Sun, 30 Jan 2005 01:19:28 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
On 1/30/05 12:34 AM, "Joseph J. Strout" <joe at realsoftware dot com> wrote:

> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> At 7:43 PM +0100 1/29/05, Ronald Vogelaar wrote:
> 
>> Try canvas1.backdrop.graphics.drawpicture
> 
> No, I can't imagine this ever being the right thing to do.  Well,

You're absolutely right.

> maybe in some circumstances, but they'd be rare.  This would only
> work if you've already assigned a picture to the backdrop, and now
> you want to overdraw that picture (which would have had to be created
> with NewPicture) with a different one.
> 
> For most users, this advice will simply result in a NilObjectException.
> 
> All you have to do is either assign the picture to the .backdrop

...which is actually what I had intended/meant to advise, but I was unaware
Quicktime had anything to do with it. Oh wow, I just read the Lang.Ref on
Backdrop. That suxx. My images have to be BMP or PICT. Both? Do you have to
include images in both formats in a project?

Ronald
http://www.rovosoft.com

> property, or draw it in the Paint event.
> 
> Best,
> - Joe


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