Thanks for your help Mark, but is that the only way?
I mean, for what I intend, I don't know if that will sort the problem out.
My purpose is to create a program that (when a menu is active) will give me a list of all the bars within all the popups of that menu, so that then, I can specify for every user if he will have access to that menu option, or not.
I know I'm pushing it, but I'm really desperate, and retrieving the popup names seems to be the only way of doing it. And besides, I could store all the Menu options into a dbf, updating it every time I changed the menu, and work from there, but that leaves too many loose ends...
Pedro Santos
=o)