Iterate through Selected Shapes

Mar 15, 2013 at 3:30 PM
In my VB.NET app using the OCX I am letting the user select shapes in various ways. Once they are done they click on a button to do something with the selected shapes. Is there no other way to get a collection of the selected shapes other than to iterate through them all and check sfl.ShapeSelected(idx) = True? There is a sfl.NumSelected property so the class knows how many are selected. I just cant see how to get an array of selected indexes much like what you get from the SelectShapes function.

Thanks
AGP
Coordinator
Mar 18, 2013 at 10:14 AM
At this point no other solution is available.
For v4.9 or v5 we will try to give back a collection/array of selected shape ids.

Paul
Mar 19, 2013 at 4:12 PM
ok I already had the iteration in my code. thats a great addition to the next version.

AGP