Results 1 to 2 of 2

Thread: Problem with webbrowser control

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    11

    Cool

    How can you set focus on an form object that is on a webpage in a webbrowser control?

    I've tried

    Code:
    webbrowser1.document.forms(0).OBJECT_NAME.setfocus
    but this doesn't work.

    Could somebody please help?

  2. #2
    Lively Member
    Join Date
    Jan 2000
    Posts
    102
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width