on double click event not firing

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dscorca
New User
Posts: 9
Joined: Fri Jul 10, 2015 10:43 am
First Name: David
Last Name: Scorca
Company Name: Banyan Air Services
State / Province: Florida
Country: United States
Contact:

on double click event not firing

Post 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?
dscorca
New User
Posts: 9
Joined: Fri Jul 10, 2015 10:43 am
First Name: David
Last Name: Scorca
Company Name: Banyan Air Services
State / Province: Florida
Country: United States
Contact:

Re: on double click event not firing

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests