|

Redraw


(boolean) Whether the grid should be automatically redrawn after the operation. Usually you will want to set this to true. However there may be times when you want to perform a lot of grid actions and delay the redraw until later. This is an optional argument. If omitted it will default to true.



VALUE DESCRIPTION


true


Automatically redraw the grid after the operation. (Default)


false Delay the redraw until later.


image

Re t u r n s


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


See also: Related Actions


image

H o t s po t


image

Hotspot.GetPos

OverviewExamples

table Hotspot.GetPos ( string ObjectName )


De s cr ip t ion


Returns the X and Y page or dialog coordinates of a hotspot object in pixels. This coordinate refers to the upper left hand corner of the object's bounding box relative to the page or dialog.


Note: The upper left hand corner of a page or dialog has X and Y coordinates of 0.


image

P arame t er s


ObjectName


(string) The name of the hotspot object.


Re t u r n s


(table) A table containing the object's current coordinates, indexed by values X and Y. If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.


|