"cellGeometry"

The read-only property delivers top-left start coordinates as well as width and height of a cell.

Synopsis

shape.cellGeometry(int row, int column, int &x, int &y, int &w, int &h);

Parameter

Parameter Description
row Row ID of the cell
column Column ID of the cell
x x panel coordinate
y y panel coordinate
w Cell width
h Cell height

Description

The function delivers the top-left start coordinates as well as width and height of a cell in a table widget.

The coordinates are in unscaled panel coordinates and x, y and are relative to the top-left corner of the table widget.

The column number is the visual index, e.g. the index of the header section the column is currently visible at. (This is different to the logical index when the column was moved)

Assignment