1
Reply

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

lindroosj

lindroosj

Apr 22 2007 6:04 PM
5.9k
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)