Mike, thanks for your reply, and I have had a look at the threads you suggested and found them very helpful.
<< You'll have to put the event code in the grid at design time>>>
This is the only thing that I am left outstanding... is there any way round this ... did'nt something about being able to compile and run code at runtime come in SP3 of VFP6 ? I'm wondering is there any way to leverage this so that I can take a block of code and run it at run time ?
Regards,
Gerard
>>I dynamically populate a grid on a from by gettingt all the standard stuff from table fields e.g Captions,Control Source,Format,Input mask etc.. I also want to specify code to put in the say, BeforeRowColChange event.
>
>You'll have to put the event code in the grid at deising time. If the event is for a control that doesn't exist at runtime, check out the solution in:
>
>Visual FoxPro in general
>Modifing method code at run time in grids
>Thread #
377841 Message #
377841>From 07/06/2000 12:05:36