Avatar

Level 10

Hi,

The code in the click event runs with the this property set to the XFA button object, so a variable reference of x will refer to button.x as in the buttons x position.  I'm a bit surprised this works for anyone, there's a whole lot of XFA reserved names which I have slowly learned to avoid, like desc, id, index, items, name, nodes, parent, value, x, y, ...

Bruce