gettingstarted
[Top] [All Lists]

Re: Timeline

To: <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Timeline
From: Lars Jensen <larsjensen at rcn dot com>
Date: Fri, 31 Dec 2004 13:29:26 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
> I looked around for a pre-built control plugin, but couldn't find one.
> Any ideas where I might come across such a monster?

If I were you, I'd write my own. You might find one here or there, but it's
one of those controls that's quite a bit of work to make really good and
generic. So the ones you find are likely to be in need of work anyway, and
building your own would be a great way to get familiar with RB. A functional
one is not too much work, and you can make it as deluxe as you have the time
and inclination for.

Start by subclassing Canvas and implementing its Paint event so that it can
draw the state of whatever timeline data structure you have already. Then
work on detecting mouse clicks and responding to drags.

If you go that route, ask questions here when you get stuck; you'll get all
the help you need.

lj

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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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