Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Menu Off The Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00765089
Message ID:
00765106
Vues:
14
If you've Form open than MROW() and MCOL() returns mouse position relatively to that form. If you want position relative to the VFP screen, add "SCREEN" parameter.
nRow = MROW("SCREEN") + 1
nCol = MCOL("SCREEN") - 7.5
>I have a toolbar that pops up a menu, like Outlook.
>
>The menu works fine except when there are screens open. Then the
>popup menu appears off the side of the screen.
>
>My code is:
>
>
>nRow = MROW() + 1
>nCol = MCOL() - 7.5
>
>DEFINE POPUP ShortCuts FROM nRow, nCol IN SCREEN SHORTCUT
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform