I don’t use ABC Popup much, but I do often open the AB CLWs to see how they work when I am puzzled…
Maybe the problem is the Name of the Item created by AddItemMimic(Text,ID) e.g. 'Til &Excel',
is not what you have in SetIcon(Name,Icon) e.g. 'Fra Excel',
I.e. the Class did not remove the &Amp, or removed the Space, or did ???
The Prototype in ABPopup.INC/CLW allows you to specify the Name and Menu Text separately in the Omittable 3 parameter <STRING Txt>.
PopupClass.AddItemMimic PROCEDURE(STRING Name, SIGNED ButtonID, <STRING Txt>)
Suggest you use all 3 parms and give it a Unique Name and Menu Txt like this:
A way to be sure is to modify ABPopup.CLW to see what it is doing … then restore the original.
I think the conversion of Menu Text to Name is done in GetUniqueName() which sadly is private (in a tricky way). There is no reason it could not be public.
Maybe someone knows a way to get the Name generated by the last Add to the Popup? The Queue is private.