Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to position popup menu in a specific place?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
How to position popup menu in a specific place?
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00990905
Message ID:
00990905
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform