Yes, you can "scroll" controls if you simply iterate through them and
"move" them all together. That gives the appearance that you are
scrolling the controls. Since there is free clipping when objects
within the container controls are scrolled out of the bounds, this will
give you what you need.
Don't get me wrong... Canvases were great... but now, Container Controls
are "where it's at!"
- Ryan Dary
Phil M wrote:
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>
_______________________________________________
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>
|