AnnAutoMenuEnable Example for Visual J++

Note: This topic is for Document/Medical only.

This example toggles the AnnAutoMenuEnable property.

if( LEAD1.getAnnAutoMenuEnable() )
   LEAD1.setAnnAutoMenuEnable( false );
else
   LEAD1.setAnnAutoMenuEnable( true );