Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which control has focus?

Status
Not open for further replies.

erwin001

IS-IT--Management
Mar 28, 2006
51
US
How do you determine which control has focus when you open a form.
 
In design view got to "menu" > "view" > "Tab Control" you can change the order to suit.
 
Screen.ActiveControl.Name
As far as I recall.
 
Hi erwin001, which answer was the one you were looking for?
 
I believe Screen.ActiveControl.Name is the answer I was looking for. Somehow I need to use this to make my scroll button on my forms positioned in a way so that I'm able to view both tabs of the form. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top