Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup calling a method question...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00383607
Message ID:
00383674
Vues:
15
Jim,

You can do it this way;
LOCAL lnBar
DEFINE POPUP lpClassList SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF lpClassList PROMPT [Rename]
DEFINE BAR 2 OF lpClassList PROMPT [Delete]

ON SELECTION POPUP lpClassList lnBar = BAR()
ACTIVATE POPUP lpClassList

DO CASE
   CASE lnBar = 1
      * Rename
      This.PopProc("Rename","lpClassList)
   CASE lnBar = 2
      * Delete
      This.PopProc("Delete","lpClassList)
ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform