I have a large image that is in a TImageEnView with lots of rectangle objects that I pan around with scrollbars. I would like to auto scroll and bring the X1,Y1 of the selected object in the center of the TImageEnView (I retrieve the object coordinates from a stringgrid).
Please provide more information. Is the "object" in a layer? When do you want to place the selected object in the center? What do you mean auto scroll?
Sorry William. Correction: I have the rectangle objects in a TImageEnVect. I would like to always show the object in the view (TImageEnVect Window) regardless of where the object is on the image. So, if the object is at the bottom of the image and since the TImageEnVect is showing the image at 100% or larger zoom, then I would like to "autoscroll" the TImageEnVect to bring the object to the center of the view window. I hope I make sense.