Can someone tallme how to determine which control on the form has focus, and how to set focus from that control to another?

thanks.