>If the user input isn't what's required, how does one retain the focus in a grid textbox? I can evaluate the value, and then use keyboard leftarrow in lostfocus to bring focus back, but I am sure that isn't the optimum way. Using setfocus in the lostfocus doesn't work.. Setfocus in the whole darned grid doesn't seem to work.
>
>Thanks.
That's what the VALID event is made for. Return .F. will stop the object from losing focus.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]