Joao,
GotFocus() is an event that occurs when focus is coming into a control. It's a notification that the control is getting focus. As Evan mentioned you call the SetFocus() method to set the focus to a control.
>I have a text field in a form, i do in lostfocus event
>
>ThisForm.Picbtns1.cmdAdd.gotfocus
>
>and didn't work, the next object is a grid, but i don't that the cursor stops in grid, any sugestions.