realbasic-nug
[Top] [All Lists]

Re: ContainerControls, Canvases and Backdrops

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ContainerControls, Canvases and Backdrops
From: Joe Strout <joe at inspiringapps dot com>
Date: Tue, 30 Oct 2007 12:58:25 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <DE9FBA99-FE2C-43F1-B88A-CBE4A6A242BB at stretchedout dot com>
On Oct 30, 2007, at 12:03 PM, GregO wrote:

> Anyway, if you download it, you'll notice that the preview doesn't
> display. I've got to go into the control each time I add it to a
> project and set the backdrop of the canvas to the included pic.
> Looking at the xml version of the exported control, it looks like the
> Backdrop property is set to an ID of some kind, which I'd guess is
> different each time I import. So how does one link these together so
> I don't need to reset the canvas each time?

I hate to be negative, but I don't think you can.  As you found,  
object properties (like canvas backdrops) are stored by ID, not by  
something like an object name or file name.  So when you import, you  
have to reassign any such property values.

Best,
- Joe


--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com



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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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