>Hi everybody,
>
>I have a grid and I placed Valid method for several columns (in their textbox control - I use default textbox). Today I noticed, that this Valid method fires each time, I tab between columns or navigate in a grid. Most of the time my column are readonly, only under cirtain conditions I allow to edit text content in a column. I'd like to fire Valid method only in cases, when something was actually changed in a grid textbox, how can I achieve this functionality?
>
>Thanks a lot in advance.
I don't think you can prevent valid from firing but you can use things like getfldstate() or check the state of your column (amoung other things) to allow you to perform some logic within valid() to get the result you want.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California