Click example for C++ Builder

This example demonstrates the Click event.

/*This example, on a click event, toggles between the default
mouse pointer.*/
   void __fastcall TForm1::LEADRasterView1Click (TObject *Sender)
{
   if (!LEADRasterView1->MousePointer)
      LEADRasterView1->MousePointer= 12;
   else
      LEADRasterView1->MousePointer= 0;
}