Scroll event example for C++ Builder

This example demonstrates the Scroll event.

void __fastcall TForm1::LEADRasterView1Scroll (TObject *Sender)
{
   //Add a TextBox control to your form and use it for this test
   Edit1->Text = "Image origin: " + IntToStr((int)LEADRasterView1->DstLeft)
                 + ", " + IntToStr((int)LEADRasterView1->DstTop);
   Edit1->Refresh( ) ;

}