Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to position the bottom of the popup menu?
Message
De
11/03/2005 14:27:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00994983
Message ID:
00994984
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform