On Apr 3, 2006, at 2:35 AM, Chipp Walters wrote:

Nice work Geoff,

I just finished my own accordian control. It's quite a bit simpler and without some of the bells and whistles. I especially like the way your buttons slide up and down.

That was especially painful to get right. I started by locking moves, then sending a move command for each of the groups that needed to move, then unlocking moves. That worked well for up to about five panes on my computer, but beyond that the moves lost their sync -- not badly, but noticeably.

So I added a group specifically for moves. Whenever the pane needs to change, I figure out which ones are moving, put them into the "mover" group, then move that, then move them back out of the "mover" group.

You would think once I got that concept worked out it would be easy, but no. ;-)

My first thought for doing this was to issue a group command:

group control "whatever" and group "whatever" -- etc.

The problem was that the objects I was grouping were groups. The compiler doesn't like this:

group group "whatever" and --

The group group part throws it off (need to bugzilla that).

So instead I have the group ready to go, and move the groups into it by setting their layers. Working _that_ out was on the painful side ;-)

But the end result is that it should be able to accommodate virtually any number of panes without a slowdown, even on older computers.



Mine's called (surprise) "altAccordion" and it's a breeze to install. It's been checked out on both Mac and PC.

Type into the message box:
go URL "http://www.gadgetplugins.com/altplugins/altAccordion.rev";
Then be sure an palette it (click topLeft corner invisible button), and you can start installing it on stacks right away. Be sure and read the instructions.

So now there are a couple different versions to choose from depending on what needs people have :-)

I'm not really familiar with this control -- are they usually just a list of lists? If that's so, maybe it's a good thing I didn't know what to call it. That way there's a distinction, since the windowshade control is just a group of groups, and can hold anything.


best,

-Chipp

Geoff Canyon wrote:
I don't know what to call the thing. I've seen them called navigators, and accordions. I'm calling it a windowshade, since that's what it reminds me of. It's that control that displays a set of titles, each of which is like a separate tab. You click on any of them and the rest slide out of the way to show you the controls on that pane of the control.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to