>>>Wayne,
>>>
>>>I can (and am) do something like that. The problem is that I need to be able to know what menu they had open at a certain point in time, and there's where I'm having trouble.
>>>
>>>-- jas
>>
>>If all of your menu code goes through some kind of launcher for forms, etc, just save the current POPUP() and BAR() values and when you leave your form do:
>>
>>ACTIVATE POPUP (lpop) BAR lbar
>>
>>Does this do what you want?
>
>Yesss... as soon as I get it to work - and I'll do soon. I've added two properties - FromPopup and FromBar, added them to my base form class, and store the popup() and bar() there during form's init, and in form's destroy() I do. It still doesn't work (after only half an hour of trying), but I feel I'm on the right track.
We had always done it with *shudder* public variables! We no longer do this, as we have given in to the Windows standard of letting the menu go away. It should work with your form properties, though. Good luck!