|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WebBrowser Control IssueHello,
I have a webbrowser control on a pretty simple form (txtAddress, btnGo, WebBrowser1). When going to Google w/ this browser control, the focus changes to Google's search bar. Without going in to a whole lot of detail as to WHY I don't want this to happen, does anybody know if there is a way to prevent focus from being placed on this search bar, or to move focus out of this search bar and on to the HTML element of the page? Thanks, Gary Hibbard Garry,
There are two webbrowsers, the AxWebbrowser from before Net 2.0 and the Webbrowser class I have not direct the answer for you , but I almost sure that your problem should be solved different for this. (AFAIK has Google has a little piece of JavaScript at the end to set the focus on the search box) You should be shure that there is nothing anymore downloading and than set the focus. Cor <gary.hibb***@gmail.com> schreef in bericht Show quoteHide quote news:1156533430.672064.11570@m73g2000cwd.googlegroups.com... > Hello, > > I have a webbrowser control on a pretty simple form (txtAddress, btnGo, > WebBrowser1). > > When going to Google w/ this browser control, the focus changes to > Google's search bar. > > Without going in to a whole lot of detail as to WHY I don't want this > to happen, does anybody know if there is a way to prevent focus from > being placed on this search bar, or to move focus out of this search > bar and on to the HTML element of the page? > > Thanks, > Gary Hibbard >
Saving changes made in DataGridView
how to force a 'SyncWithCurrencyManager' update hex to unicode: problem Atomic Operation? One Last Class Question - Example that works Generic collection question how to make a mouseup event called only once during a double click event? Current namespace, stack and lineno How to make double click event to call and execute the mouseup event code I/O Access through window handle? |
|||||||||||||||||||||||