Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
enumeration of items
#1
Hello,

I have a program that does not have strings built for some objects. Some of the objects are within the same tree. Whenever I use one of the objects it would point to the first object with the name. I then switched over to using ID numbers, but when I upgraded my software all the numbers changed. I was wondering if there was a way to gather the items within a tree and place them into an array of some kind and renaming to how I want.

Example: There are three ("" "" (Calculator) (SciCalc) "" 0x100) and i want to find by using a for loop that searches, and then if one was found it would name it Calc1. Second would be Calc2 and so on.

Any help would be great thank you.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)