Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I catch when the user clicks off a DataGrid, for example to close the form?

catch clicks datagrid form user
0
0 Posted

How do I catch when the user clicks off a DataGrid, for example to close the form?

0
0

You can catch clicking off a DataGrid in the DataGrid.Validated event. But this event is also hit when you use the Tab key to move around the grid. So if you want to catch it exclusively for clicking off the grid, you have to ignore the event due to the…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123