Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut menu position
Message
De
07/04/2001 16:44:25
 
 
À
05/04/2001 16:14:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00491045
Message ID:
00493271
Vues:
18
Hi Fred, thank you for replying my answer about shortcut menu. I'm sending you the code I'm using:

* Menú contextual de los Factores de análisis.
DEFINE POPUP chtcont from mrow(), mcol() SHORTCUT margin
DEFINE BAR 1 OF chtcont PROMPT "\DEFINE BAR 2 OF chtcont PROMPT "\-"
DEFINE BAR 3 OF chtcont PROMPT "\DEFINE BAR 4 OF chtcont PROMPT "\DEFINE BAR 5 OF chtcont PROMPT "\-"
DEFINE BAR 6 OF chtcont PROMPT "Mostrar datos \DEFINE BAR 7 OF chtcont PROMPT "Mostrar / ocultar \DEFINE BAR 8 OF chtcont PROMPT "Mostrar / ocultar \DEFINE BAR 9 OF chtcont PROMPT "Mostrar / ocultar ta\DEFINE BAR 10 OF chtcont PROMPT "\-"
DEFINE BAR 11 OF chtcont PROMPT "Per\DEFINE BAR 12 OF chtcont PROMPT "\
I'm not using the VFP menu designer because this builder creates the popup every time you call it, the DEFINE POPUP command is executed again and again whenever I call the .MPR file. I need the popup definition for many windows, in this manner the code is more simple (to me in this case.) In rightclick event of every window I used this:

MOVE POPU CHTCONT TO MROW(), MCOL()
ACTI POPU CHTCONT

or this other:

ACTI POPU CHTCONT AT MROW(), MCOL()

but the upper-left corner of CHTCONT appears far of mouse pointer. If I use

DEFINE POPUP chtcont from mrow(), mcol() SHORTCUT margin

in rightclick event, it works but the popup is redefined everytime. Can you help me? Since now, thank you very much! (please excuse my english, I only speak spanish)

Raúl Godoy
Raúl Oscar Godoy
as_rgodoy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform