Thanks Agnes! Didn't even think of that!
Do you know if 'Popup' and 'Popups' is included in every language runtime? Then I can just check for "Popup" $ my_line_string
or "Popups" .
Regardless though, I am really hoping to find a better way to do this. One way would be to programmatically iterate through every menu choice - e.g. - assume that the menu is _msysmenu (which it is in my case) - get the pad names
then ACTIVATE MENU _msysmenu PAD (padname).
At that point I should be able to call 'popup()' and it should return the name of the current popup. No? But popup() is not behaving the way I expect it to. It always returns an empty string()
>Hi David,
>
>as long as you use the english runtime it will work. as soon as you use something different (lets say your exe runs on my comp) it might fail:
>[snip]
>
>_WRAP Global L .F.
>
> 81 Systemvariablen definiert
>
>Menü- und Blockdefinitionen
>
> 0 Menüs definiert
>
>Popup-Definitionen
>
> 0 Popups definiert
>
>Fensterdefinitionen
>
>[/snip]
>
>Agnes