Click to See Complete Forum and Search --> : How do I set focus to a text box?


reuscam
March 26th, 2002, 03:36 PM
Just need to know how to make the call. Thanks.

Craig Gemmill
March 27th, 2002, 12:51 AM
TEXTBOX.FOCUS()

reuscam
March 27th, 2002, 10:04 AM
In .NET this .focus() method doesn't seem to be a member function of the textbox class. Are you sure thats right?

Craig Gemmill
March 28th, 2002, 12:40 PM
Ok when I said textbox.focus() "textbox" should be whatever you named your textbox. e.g.

Textbox1.Focus()
MyTextBox.Focus()

And yes I am positive that this is the case in VB.NET.

Good Luck