AnnHyperlinkMenuEnable example for Visual Basic

Note: Also works with Access 95 and 97.

Note: This topic is for Document/Medical only.

This example toggles the AnnHyperlinkMenuEnable property .

    'toggle AnnHyperLinkMenu item and event
    If (Lead1.AnnHyperlinkMenuEnable = True) Then
        Lead1.AnnHyperlinkMenuEnable = False
    Else
        Lead1.AnnHyperlinkMenuEnable = True
    End If