Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menus in VFP5 -- Which one is popped up?
Message
De
06/08/1999 12:57:21
 
 
À
06/08/1999 02:10:07
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00249813
Message ID:
00250760
Vues:
20
>>>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!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform