Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding event code programmatically
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00991384
Message ID:
00991402
Vues:
14
There's one complication with When and Valid events. The delegate code will never be triggered if there's no code in the event itself.

>Where is this code that you want to add at runtime located? Use BINDEVENT() to delegate the When (or any) event to the object method where this code is located. If the code is in a memo field, for example, you will need to compile this code into a class at runtime then create an instance of that class so you can use the BINDEVENT to delegate your events.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform