Action
Returns the x,y location and size of a cell in a table.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
Rect = table.GetCellRect (Cell)
Variable
|
Description
|
Rect
|
The location of the cell.
RECT.
|
Cell
|
The cell to locate.
TABLECELL.
|
Notes
The
GetCellRect method raises an exception if
Cell is not visible. To ensure that
Cell is visible, call a method such as
ClickCell or
SetFocusCell before calling
GetCellRect.
Example
RECT rLocation
TABLECELL tcCell
tcCell = EmpForm.EmpTable.FindCell("Homer")
rLocation = EmpForm.EmpTable.GetCellRect(tcCell)