Miscellaneous Examples (C++ Builder)
You can test any of the following examples by adding a command button to one of the previous lessons in the tutorial, and pasting the sample code in the Click procedure.
In most cases, you can add the button after the first lesson Loading and Displaying an Image. In cases where you need to zoom in or zoom out, you must first finish Zooming Out and Zooming In.