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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the focus on a datagrid?

Status
Not open for further replies.

Mesk69

Programmer
Feb 6, 2003
12
CA
I have 7 datagrids on my forums. I'm trying to find out which datagrid has the focus. If anyone has an idea on how this is done I'd greatly appreciate the help.

These are the 2 codes statments I tryed:

If ActiveControl Is dgSemester1 Then
If dgSemester2.Focus Then

Thanks for taking the time to read and write
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top