Hi!
You can also add event on the fly in VFP, but it is somewhat tricky. It is require to define class in PRG using "DEFINE CLASS" too. Let me know and I describe it, if approach with custom header class is not acceptable for you.
>I am creating a form with a grid and I need to set all the properties of the grid on the fly.
>It is easy to change the caption property:
>ThisForm.Grid1.column1.header1.caption = "Name"
>
>But how do I change the Click Event?
>
>Thanks
>Einar
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.