AnnHyperlinkMenuEnable example for Visual J++

Note: This topic is for Document/Medical only.

This example toggles the AnnHyperlinkMenuEnable property .

// toggle AnnHyperLinkMenu item and event
if( LEAD1.getAnnHyperlinkMenuEnable() )
   LEAD1.setAnnHyperlinkMenuEnable( false );
else
   LEAD1.setAnnHyperlinkMenuEnable( true );