Loading images into imagelist in numerical order
Posted on 2006-06-12
I have a directory full of images:
What would be the easiest way to get them loaded into an imagelist in numerical order?
reading them in normally I get them in the following order:
Should I just read in the file names into a list, sort them numerically then load them into the imagelist.
I also just cant use the lowest and highest as there could be breaks in the numbers, i.e. they wont be from just 1 - 100, they could be: 1 5 7 11 12 13 15 17 etc.
Working code would be nice,.