R
russiandevil
(Using Visual Studio 2005 and C#)
I'm trying to set up an event handler for trapping activity involving
an input text element of a web page. I've tried using onclick, onenter,
onactivate (see code snippet below), etc handlers but while they seem
to be set successfully during my web page parsing, the specified
methods never seem to get triggered:
HTMLInputTextElementEvents2_Event inputTextElemEvt;
IHTMLInputTextElement foo = (IHTMLInputTextElement)currElem;
inputTextElemEvt = (HTMLInputTextElementEvents2_Event)foo;
inputTextElemEvt.onactivate += new
HTMLInputTextElementEvents2_onactivateEventHandler(inputTextElemEvt_onactivate);
My event handling for HTML links, drop-down menus, etc which is
implemented in a similar manner seems to work just fine.
p.s. apologies in advance if this is not posted in the right section of
the forums - if that's the case, please advise where should I migrate
this post to.
thanks
Greg
I'm trying to set up an event handler for trapping activity involving
an input text element of a web page. I've tried using onclick, onenter,
onactivate (see code snippet below), etc handlers but while they seem
to be set successfully during my web page parsing, the specified
methods never seem to get triggered:
HTMLInputTextElementEvents2_Event inputTextElemEvt;
IHTMLInputTextElement foo = (IHTMLInputTextElement)currElem;
inputTextElemEvt = (HTMLInputTextElementEvents2_Event)foo;
inputTextElemEvt.onactivate += new
HTMLInputTextElementEvents2_onactivateEventHandler(inputTextElemEvt_onactivate);
My event handling for HTML links, drop-down menus, etc which is
implemented in a similar manner seems to work just fine.
p.s. apologies in advance if this is not posted in the right section of
the forums - if that's the case, please advise where should I migrate
this post to.
thanks
Greg