Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run event code at runtime
Message
 
À
13/08/2000 15:53:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00404431
Message ID:
00404442
Vues:
13
Mike , just a thought that occured to me and I'm wondering if something like this would work.

In the ,say AfterColChange Event of my Grid Class:-

1. Store Program Code from a File Field to MyPROG.PRG
2. Compile MYPROG.PRG
3. Do MyProg.prg

Would this work as a way to compile and run code event code ?

Regards,

Gerard#






>>This is the only thing that I am left outstanding... is there any way round this ...
>
>So the empty grid doesn't even exist at design-time? It doesn't matter if it has columns or not remember.
>
>>did'nt something about being able to compile and run code at runtime come in SP3 of VFP6 ?
>
>Yep, you can COMPILE, you can also & simple commands, but you can't assign event code.
>
>If you don't have an empty grid at design time for the control events, my only suggestion is to add it to use the solution in that thread. is there anything else about your current process you can tell us?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform