Avatar

Level 10

Hi,

The problem you are having is because x and y are names reserved for the XFA object, so if this code was executing in button y would return you the y co-ordinate of the button, which must be in inches in your system.

Some other common names are w, h and index.

Regards

Bruce