EnableZoomInRect example for C++ Builder

This example toggles the EnableZoomInRect property.

/* Toggle the ZoomInRect setting */
if ((Lead1->EnableZoomInRect== True))
   Lead1->EnableZoomInRect = False;
else
   Lead1->EnableZoomInRect = True;