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: Phil M <phil at mobleybros dot com>
Date: Fri, 30 Dec 2005 15:23:30 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <200512302317 dot jBUNHCKj026369 at rs26s12 dot datacenter dot cha dot cantv dot net>
On Dec 30, 2005, at 3:17 PM, Ricardo Rojas wrote:

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! ;-)

Right now I'm porting my projects from version 2 to 5 to the new IDE and have not had the time to catch up with all the new features RB has now: containers, sql DB, computed properties, structures, you name it. This is why when a person of the list decides to share a tip (like the one above) I feel in gratitude towards her/him. It usually helps one in not having to discover the wheel a 2nd time. Having said that, thanks Ryan for sharing!

The only advantage that a Canvas has over a ContainerControl right now is the ability to scroll other controls. In cases where I need that functionality, I add a Canvas to the ContainerControl.


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