Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I obtain names of all popups
Message
De
22/02/2010 02:45:50
 
 
À
22/02/2010 02:32:25
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01450164
Message ID:
01450173
Vues:
50
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform