Thanks Zvezdan.
But in the case of using an Image object that simply has an OnClick event handler, perhaps there is no sense in which the image becomes 'active' so...
ax1.Interf.document.activeElement.id
is null.
It must be possible to identify the caller from within the Handler function. VBScripting knows which of four Handlers to use, so it must have a Caller id associated with that Handler, that should be readily identifiable within the handler routine.
So, for the time being, I have 4 event handlers ClickHandler_1 (etc) which immediately call a single routine ClickHandler(n) with the appropriate parameter. But is there a way of registering the event handler with a given parameter to parse???
[Edit: I've removed some rubbish I wrote here about not being able to set CurrentNode = unknownNode...
I just hadn't spotted a logic error!!]
Regards,
John

