02-01-2010 10:50 AM
Solved! Go to Solution.
02-01-2010 10:55 AM
02-01-2010 11:12 AM
Yea, I thought of that one. I have several of these, some in a cluster, and I was hoping to do this with a property node, but can't find a way to make it work.
02-01-2010 11:33 AM - edited 02-01-2010 11:35 AM
You can hide the index display, then make a seperate control where you can set entry limits. Use a value change event on it to set the "index values" property to scroll the array. Make the upper limit of the control dependent on the size of the array and the number of elements visible.
For example, if the array is size=4 and the display is size=3, only allow 0..1 on the control using data entry limits.
You could even wrap the entire thing into an xcontrol. The advantage of an xcontrol is the fact that is also work in edit mode.
02-01-2010 11:46 AM
02-01-2010 11:46 AM
08-15-2018 08:05 AM
I realize that this post is several years old but, I wanted to share a simpler albeit, different solution while I was looking for an answer to this same problem just today. I just force the array to wrap back around to the first element (0) when it reaches the size limitation I set (in this case 8 elements).
My particular dilemma was how to match captions to selected elements. Once my element list was exhausted, continued incrementing would always show the default caption and the selection process falls apart once the range of usable elements has been exceeded anyway. Setting a fixed cycle around a group of elements solves the problem. I've attached a .png of the code.