I have a Delphi TImage component wich show pictures. Sometimes the pictures are larger than the image size and requires scrolling. I dont want to use the stretch property and auto size property, I want to see the picture by scrolling it. how can I do this? I can use TScrollBox, but I don't know how to use it! best regards.
TScrollBoxcomponent at design time and set its position to the upper left corner. For smoothly animated scroll you can use code fromthis post. - TLamaAutoSizefor the scroll box, then no. It would automatically resize the scroll box by its children and you'd never see scrollbars. For the image isAutoSizeright option though. Rojin, it should work, even if you insert your image into the scroll box that way. - TLama