EnableZoomInRect example for Access 2.0

Note: This topic is for Document/Medical only.

This example toggles the EnableZoomInRect property.:

           ' Toggle the ZoomInRect setting
           If Me![LEAD1].Object.EnableZoomInRect = True Then
               Me![LEAD1].Object.EnableZoomInRect = False
           Else
               Me![LEAD1].Object.EnableZoomInRect = True