>I have created a grid on a form using the following code:
>
> This.Addobject([grdGrid], [Grid])
> with This.grdGrid
> .Left = 4
> .Top = 36
> .Width = This.Width - 8
> .Height = This.Height - 40
> .FontBold = .T.
> .FontSize = 8
> .RowHeight = 15
> .Visible = .T.
> endwith
>
>Grids have an event AfterRowColChange. I would like to write some code for this event. How can I do this programmatically?
>
>TIA
>
>DJ
You can't. Create a grid class that has the AfterRowColChange programmed how you want it, and then add it instead of an instance of a base class.
Insanity: Doing the same thing over and over and expecting different results.