Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run event code at runtime
Message
 
To
13/08/2000 15:53:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00404431
Message ID:
00404442
Views:
12
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform