Page 1 of 1

on double click event not firing

Posted: Tue Aug 11, 2015 11:13 am
by dscorca
I have a screen with a simple panel with a height of 1260px and extends beyond my normal display, so it has a scrolling slide bar. On this panel I have about nine HTML containers, all of which have an ondblclick event which executes the button ID Plus0501 via the pui.click("Plus0501") ; java code.

On the top four html contains the double click event does not fire and control is not returned to my program, on the bottom five html containers it works fine. I'm thinking it has to do with my panel size and the UI handler not thinking all the html containers are actively on the screen when I double click them.

Any thoughts?

Re: on double click event not firing

Posted: Thu Aug 13, 2015 1:59 pm
by dscorca
Okay, I feel stupid now; I found the issue. The record format had an onload event which disabled the first few html widgets, hence the double click event was never firing.

applyProperty("SCNOTE0501","disabled","true");
applyProperty("SCNOTE0502","disabled","true");
applyProperty("SCNOTE0503","disabled","true");
applyProperty("SCNOTE0504","disabled","true");

Thank you anyone who read and spent any time thinking about this issue.