title: Get position of object in a list in Delphi?
body: <p>I was wondering how you get a position of a certain object in a list that is created.
  Lets say it is like a graphical list where you can click on objects.
  Lets say you right click on a object and click "Refresh", how do I get the position of that object so that after the whole list is refreshed (refreshes with a clearlist for some reason) i go back to the same position in the list? This is if the list is say 1000 objects long which makes it bothersome to try and scroll down to the same position after the refresh.</p>
  
  <p>The code uses Tobject but can i do something like
  position:=integer(TObject."pointerinfo???");
  And after that when the program refreshes
  like set the position of the view to the pointer
  like currentview(pointer) or something like that?</p>
  
  <p>Actually it doesn't have to be the same object, but the same "view" of the list would be even better.</p>
  
  <p>Thanks in advance</p>