View Single Post
  #24 (permalink)  
Old 10-21-09, 09:21 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by job0107 View Post
Everything I checked gave the original order.
I couldn't find anything that would produce the changed order.
So using the aElts array seemed the only logical solution.
That's what I figured- I couldn't find any native function that exposed the new, rearranged order. That's why the aElts array was important to me.


Quote:
Originally Posted by job0107 View Post
Using the x&y coordinates of the elements would require more programming then just swapping elements in an array.
Yep...in fact, it required so much that it basically became somewhat of a death march for me.

Quote:
Originally Posted by job0107 View Post
And besides, after your array is setup the way you want it, there are a lot of function that you can use that are very efficient.
Walter Zorn's library is pretty slick, lots of powerful stuff in there for layer control, resizing, dragging, opacity, etc etc. I'm going to be experimenting with adding new elements on the fly, which looks like it should be pretty straightforward. (Famous last words...)
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote