1
Answer

How to prevent a control to loose focus when clicking a button

lindroosj

lindroosj

17y
6.9k
1
Hi, I want to prevent my datagrid from loosing focus when I click a button. I want to use SendKeys to send keys generated by the button, but the datagrid looses focus and even if I can set focus back it won't be right anyway. Anybody who knows how to do this? Thanks in advance. /Jorx
Answers (1)