>I have container (textbox and button) in grid column.When active cell loose focus textbox value is validated in valid event ,but valid behave strange if focus is set into control outside grid in same form.
>Problem: though valid return .F. textbox loose focus and other control in grid is activated.But all is well when same container is placed not in grid. (VFP5)
>
>Sorry for my english
>Thanks in advance
Try to use LostFocus event with This.Setfocus/NODEFAULT to return the focus back.
Edward Pikman
Independent Consultant