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

datagridview check click area 1

Status
Not open for further replies.

slybitz

Technical User
Mar 25, 2005
113
US
I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked outside any of the data rows within the datagridview (where there are no data rows showing). I'm not sure how to do this. Any ideas?

Thanks!
 
I was trying to avoid that but I think that may be my only option.
 
You realize you can check for a click in the DataGridView but outside of any data rows by handling the MouseClick event of the DataGridView?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top