Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub-menu at right click on form
Message
De
04/01/2001 10:26:33
 
 
À
04/01/2001 08:03:47
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00459270
Message ID:
00459342
Vues:
24
Hi Ashish,

I suppose you mean something like this:

DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
local lnkeuze
lnkeuze = 0
DEFINE BAR 1 OF shortcut PROMPT "choice 1"
DEFINE BAR 2 OF shortcut PROMPT "choice 2"
ON SELECTION BAR 1 OF shortcut lnkeuze=1
ON SELECTION BAR 2 OF shortcut lnkeuze=1


ACTIVATE POPUP shortcut
do case
case lnkeuze=1
wait window "choice 1"
case lnkeuze=2
wait window "choice 2"

endcase



You can put this code in the right-click event of your form. (or any other event of any control)

Regards,

Auke
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform