:: Forum >>

Double click on topImage

I cannot find anywhere where it says whether it is possible to trap a double click on an image in the top left of the grid - is this possible?
Ian B
Tuesday, September 5, 2006
You can use built-in onTopSelectorDoubleClicked event -

obj.onTopSelectorDoubleClicked = function(){alert(1)};


or, to assign an event handler to the image (but not the text) use modified AW.Templates.ImageText object -

var top = new AW.Templates.ImageText;
var image = top.getContent("box/image");
image.setEvent("ondblclick", function(){alert(1)});
Alex (ActiveWidgets)
Tuesday, September 5, 2006

This topic is archived.

Back to support forum

Forum search