Possible Duplicate:
Create event handler for OnScroll for web browser control
I would like to create an event handler for a web browser control scrolling.
webCompareSQL.Document.Window.Scroll
Can some one show me how to create an event handler?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the class you add a delegate and an event, and usually a simple internal method that checks for null and calls the event:
Then in the actual code you would register a method for the event using: