realbasic-nug
[Top] [All Lists]

Re: Create virtually a CANVAS subclass

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Create virtually a CANVAS subclass
From: Ryan Dary <nug at ryandary dot com>
Date: Thu, 29 Dec 2005 20:09:08 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BFD894E6 dot 2C52B%realbasiclist at fusina dot net> <045B0BA4-824F-4A44-A38D-7ED5F35A2607 at boisseau dot co dot uk> <C649511F-3280-40C2-8C48-14C1C74AFF14 at boisseau dot co dot uk>
No, don't create a canvas inside the container... just use the container like a canvas! It has all (if not more) events, properties and methods than a canvas.. you'll have a great time doing it... I know I did! ;-)

Oh, and I've been asking REAL Software to allow for dynamic creation of controls and windows for years now... container controls are the best they've done towards that since.

- Ryan

Charlie Boisseau wrote:
REALbasic doesn't allow you to create controls on the fly. What you can do is attach a new instance of a ContainerControl dynamically, so you might want to create a canvas within a container control and try that.

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