gettingstarted
[Top] [All Lists]

Re: Timeline

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Timeline
From: Phil Mobley <phil at mobleybros dot com>
Date: Thu, 30 Dec 2004 14:11:15 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BDF9BBE4 dot B2C3%larsjensen at rcn dot com> <58FF6394-5AA3-11D9-9D2C-000393DB5ADC at pacbell dot net>
On Dec 30, 2004, at 12:42 PM, Paul Bailey wrote:

I looked around for a pre-built control plugin, but couldn't find one. Any ideas where I might come across such a monster?

Also, any clue what this sort of control might be called? I'm thinking that 'timeline' may not be it...

I am not aware of any control like this, so you will probably have to make your own. If one exists, then the best place to look for it is on the RBgarage website:

    http://www.rbgarage.com

If you need to make your own, take a look at the DragPics example on the REALbasic CD or sample code (from their website). The DragPics example should help you get started.

You would only need to support dragging in the X direction, but the principles would be the same. In your application, the "picture" will be your slider handle and you will need to keep track of the center position of it to define your time line. Of course, your timeline may have multiple handles, so you will need to test which one the user clicked on to move.

Are you intending this project to have just a single slider, or groups of sliders? It gets more complex with a group, but I would still make the entire group control part of a single Canvas subclass.

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