Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to position popup menu in a specific place?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
How to position popup menu in a specific place?
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00990905
Message ID:
00990905
Vues:
53
I would like to display a popup menu right above a button?
For example, I define the popup menu in a Click() method of a
button and then display it using the following sample code:
define popup MyPopMenu shortcut relative from nRow,nCol
But I always have to try different values of nRow and nCol until I
get this menu displayed above the button. Is there a better method
of determining these coordinates?

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform