Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning buttons for msgsvc during runtime.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00385748
Message ID:
00386240
Vues:
23
Depending on the version you have...

For a MsgSvc dialog with "Eat" "Sleep" "Sports" buttons:
m.Ratface= "Eat;Sleep;Sports"
MSGSVC("Whatever")
MsgSvc Record (note the curly braces, which work pretty much everywhere in MsgSvc):
cKey: "Whatever"
cFunction: "{{m.Ratface}}"

Does Vulcan make hockey pucks?

**--** Steve



>How is the best way to assigns buttons during run-time for a message service.
>
>Here are 2 solutions I have thought of.
>
>(1)Do a seek, then do a replace on the cFunctions field for the cKey you need to dynamically change.
>
>(2)Specify two almost exact messages.
>
>I thought maybe I could pass it in as a param or something or maybe use %C1% but this won't work.
>
>Thanks in advance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform