AnnShowLockedIcon example for Delphi
//This example toggles the AnnShowLockedIcon property.
//Toggle AnnShowLockedIcon
if (LEADAnn1.AnnShowLockedIcon = True) then
LEADAnn1.AnnShowLockedIcon:= False
else
LEADAnn1.AnnShowLockedIcon:= True ;