Set control focus while loading a form

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Ive viewed some techniques of methods to set a forms focus onto a specific object like a textbox. However, I cant simply ControlName.focus(). Presenlty, Im using the InputValidater to input SSN as an example. Set Focus using VB 2012. I would like for keyboard focus to be as a cursor within the input box and as the form loads.
I recall this being easy to do in earlier VB days.

View the full article
 
Back
Top