AnnShowLockedIcon Example for Visual J++

Note: This topic is for Document/Medical only.

This example toggles the AnnShowLockedIcon property.

// Toggle AnnShowLockedIcon
if( LEAD1.getAnnShowLockedIcon() )
   LEAD1.setAnnShowLockedIcon( false );
else
   LEAD1.setAnnShowLockedIcon( true );