10-01-2008 07:57 AM
10-01-2008 08:18 AM - edited 10-01-2008 08:23 AM
The trivial answer is to set the scroll position such that the upper left corner does not contains 0,0, but the orientation of the array is retained.
The non-trivial answer assumes that you want e.g. 0,0 in a different corner, with the indices increasing along different directions than in the normal array controls.
For this, you can always make your own. 🙂
Could be a simple as transforming the data for display, e.g. as in this post.
Even fancier, you could make an Xcontrol where you hide the array index display and replace it with controls of your own to correctly map indices to the array scroll positions of the transformed display, etc.
How big are your arrays?
10-01-2008 09:58 AM
I was hoping to have 0,0 in a different corner, or even in the center. It may not even be an issue anymore, but I know I will come across this in the future.
I am hesitant to make a custom control, because I still want to use all of the Array tools like "replace subset", "index array" etc.
It is an 8x8 array, so it could be worse.
Thanks for the reply.
10-01-2008 10:15 AM
go sox wrote:..., or even in the center.
That would make little sense, since array indices are always positive numbers. 🙂