How can you set focus on an form object that is on a webpage in a webbrowser control?
I've tried
but this doesn't work.Code:webbrowser1.document.forms(0).OBJECT_NAME.setfocus
Could somebody please help?
Printable View
How can you set focus on an form object that is on a webpage in a webbrowser control?
I've tried
but this doesn't work.Code:webbrowser1.document.forms(0).OBJECT_NAME.setfocus
Could somebody please help?
first of all, i don't know, but here are some ideas:
in dhtml, in order to do that the syntax is:
document.FormName.InputName.focus();
(so try that instead of setfocus).
well, i ran out of ideas...
itay.