CellLeft

This property returns the position of the left border of current cell.

Syntax

object.CellLeft [= number]

Parameters

object
Object expression that evaluates to a Grid control.
number
Numeric expression specifying the position of the current cell.

Remarks

The CellLeft property is unavailable at design time and read-only at run time.

This property is useful if you want to emulate in-cell editing. By trapping the KeyPress event of the Grid control, you can place a text box or some other control over the current cell and let the user edit its contents.

The return values are always in twips, regardless of the form's ScaleMode setting.