AnnHyperlinkMenuEnable example for Delphi

//This example toggles the AnnHyperlinkMenuEnable property.
//toggle AnnHyperLinkMenu item and event
if (LEADAnn1.AnnHyperlinkMenuEnable) then
    LEADAnn1.AnnHyperlinkMenuEnable:= false
else
    LEADAnn1.AnnHyperlinkMenuEnable:= true;