Try THISFORM.ActiveControl.
>Is there a way to determine which control has focus on a form? I have a situation where I DON'T want the KeyPress method of the form to fire IF they're on a certain group of textbox controls.
>
>If I'm going about this the wrong way -- i.e., evaluating key strokes and conditionally executing code when focus is NOT the textboxs in question, I would appreciate your advice.
>
>Please and thanks.