September 28th, 2012, 10:45 AM
Is Possible to save contents of TScrollbox to a image file?
Helloo! I'm new here, And I have a urgent question.
since the width of delphi forms have a limit, and I wanted to make a big thing, with many labels, edits, shapes, etc, I did that on a Scrollbox, so i can scroll . My question is, i need to print it, or save as image ALL the content of the Scrollbox, and i have no idea how to do it. Can someone give me a little help?
September 30th, 2012, 05:23 AM
Hi Healwave, welcome to the forum! I decided to put together a tutorial for you, complete with sample code and working demo project. Take a look that tutorial here:
September 30th, 2012, 07:56 AM
It works like a charm, but i have a question: When i do "vimg.SaveToFile('c:\scrollbox.bmp');" , on the "get Image" button, it saves the content of the scrollbox but only of what we are seeing at the moment! I have more objects than the ones i see. I have to scroll to the right and click again get image to get the rest of the scrollbox, but it will override the old file etc etc blablabla .. so that's not what i need.
Do you know any way to save all the content of it into a image?
Images are on the link that u answered me, i replyed there with the images.
October 2nd, 2012, 12:13 AM
I answered in the tutorial's thread. Thanks!