I want to press tab key programatically. i used this code
private void BrowserPage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
webBrowser.Select();
webBrowser.Focus();
PreviewKeyDownEventArgs ee = new PreviewKeyDownEventArgs(Keys.Tab);
webBrowser_PreviewKeyDown(sen, ee);
}
but in web browser the focus is not moving to next control..

1 answers
Try this:
http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx
answered one month ago by:
208