Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to position the bottom of the popup menu?
Message
From
11/03/2005 14:27:31
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00994983
Message ID:
00994984
Views:
12
>In another message, Sergey Berezniker suggested a very useful code of positioning the top of a popup menu to a form button. (Below is his code).
>
>But now I am wondering if it is possible to make the change to the code and to anchor the bottom of the popup menu at the button?
>
>Thank you for any questions.
>
>
>Thisform.ScaleMode = 0		&& Foxels
>lnPosX = This.Left + This.Width
>lnPosY = This.Top + This.Height
>Thisform.ScaleMode = 3          && Back to Pixels
>DEFINE POPUP test SHORTCUT RELATIVE FROM (lnPosY), (lnPosX)
>DEFINE BAR 1 OF test PROMPT "Menu 1"
>DEFINE BAR 2 OF test PROMPT "Menu 2"
>ACTIVATE POPUP test
>
yes you can with the "[TO nRow2, nColumn2]" addition to Define Popup
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform