Hi Rob

I have implementet that. The script doesn't check buttons earlier than what is needed. The buttons is only references to customproperties in the group like "the _TitleTextButton1 of group "Buttons" so I only use them to point to different variables. And no, there is no actions in the buttons. I control all the action in the script of the group.

the only idea that I have is using the selection tool to draw a rectangle around the buttons that needs to be moved. But this leads to problems cause the group only shows 30 of the buttons at any time. With a scrollbar to move left and right in the group.

I guess I need a minimal system requirement for the application.....:-)



Dear Jan,

I use a repeat with T=1 to (the number of buttons of group "Timeline")
because I need to reorganize all the other buttons if the user moves just one of them.

In the future the user can have up to 1000 of these buttons in the timeline. At this point I guess the repeat loop will be very slow.

Is there a more efficient method I can use here?

If the user eliminates or changes button x, is there any need to adjust buttons 1 through (x-1)? If not, you can start T=X to (the number of buttons of group "Timeline". It won't help much if the target is button 1; but it should help lots if the target is button 999.

If the relationship of the buttons is different such that action on button x can require changes to buttons 1 to (x-1), I'd need to know more to offer further suggestions.

Rob Cozens, CCW
Serendipity Software Company

Vive R 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

_______________________________________________
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