Thanks Zoran - that got me going! I have modified it slightly so that it calls a procedure in the prg file... I am right in thinking I should have DEACTIVATE POPUP myPopup in there? It works fine but I wanted to check...
Also is there anyway to get it to display like a regular menu? What I mean is with the drop shadow and also the items getting highlighted on mouseover?