SyntaxSetFocus(Control)CopyCopiedExamplesSetFocus(txtFirstName)CopyCopiedPuts the cursor in the first fieldOfficial documentation on Microsoft Learn ↗← PreviousSetNext →SetProperty