>Hidy Dragan,
>There are two better (or far less coding) solutions. One is the simple class code in my reply to Brenda in this thread. The other is setting a custom grid or form property as a flag for "lHangingValidation". Any control that has a valid, sets this flag in interactivechange (nearly all valid code is moved there except messages) then in grid.valid you "return !thisform.lHangingValidation". This in turn lets focus stay in grid (if any hanging validation) and valid act as it should (say almost as it should :)).
>Cetin
Your solution is better - and mine is not even sure to work. I was looking for a fast workaround or a magic wand, whatever comes first. Still, the whole thing remains as a kludge: we'd need a textbox class with this behavior, and a grid which would have this textbox class as default control in its columns. From what we know now, it's feasible, but not that easy.
Of course, our old FoxWish that we should be able to determine what objects will be contained within a new column in a grid (not necessarily a textbox with bloody Arial and no custom properties at all) - was not addressed in VFP6, not that I know.