I was trying to put code into a Double Click event in Adobe LiveCycle Designer, but couldn't find the Event. There is a "Click" event, but that won't do.
Am I missing something here?
The desire is to have a text field (cell in a table) double clicked and a popup box to come up so text can be entered and stored with the cell. But not always.
If we are limited to a single click, how do we get into a cell, but not want the popup box?
I was surprised the double click was missing but I use the following code in the click event, just replace the "[my double click code ]" and "[ my single click code ]" with your single and double click code. This code delays the single click event for 400ms to see if a second click is coming, you might want to play around with the 400ms as you have to balance the responsiveness of a single click with the double click.
if (new Date() - this.date < 400)
this.date = undefined;
[my double click code ]
if (xfa.event.fullText !== "singleClick")
this.timeout = app.setTimeOut("xfa.event.fullText='singleClick';xfa.resolveNode('"+t his.somExpression+"').execEvent('click');",500);
[ my single click code ];
this.date = new Date();
Europe, Middle East and Africa