Button.SetPos

Button.SetPos ( 

string ObjectName,

number X,

number Y )

Description

Sets the X and Y pixel coordinates of a button object relative to the page.

Parameters

ObjectName

(string) The name of the button object.

X

(number) The new X pixel coordinate (horizontal position) to set for the button object. This is the X coordinate of the upper left hand corner of the object's bounding box relative to the page.

Y

(number) The new Y pixel coordinate (vertical position) to set for the button object. This is the Y coordinate of the upper left hand corner of the object's bounding box relative to the page.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

Availability

Standard

Pro

 

See also:  Related Actions