The following are two onClick event handlers for buttons that zoom and unzoom a bitmap image.

function zoomButton_onClick( )

   with form.mapImage 

      move( left, top, 60, 20 ) 

   endwith 

 

function unzoomButton_onClick( )

   with form.mapImage 

      move( left, top, 30, 10 ) 

   endwith