realbasic-nug
[Top] [All Lists]

ContainerControls, Canvases and Backdrops

To: REALbasicNUGlist Network Users Users <realbasic-nug at lists dot realsoftware dot com>
Subject: ContainerControls, Canvases and Backdrops
From: GregO <rbnuglist at stretchedout dot com>
Date: Tue, 30 Oct 2007 14:03:09 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
So I've got a custom control I created that emulates the plus/minus  
control in Mac OS X which was created with a ContainerControl (so I  
have access to activate/deactivate events) and then I put a canvas on  
top of it and set the backdrop to a preview of the control so I can  
properly position it in the IDE. (available at: http:// 
www.stretchedout.com/rbclasses/Custom_PlusMinus.zip )

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?


GregO

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