TDBCombo Reference > TDBCombo Methods > RowTop Method (TDBCombo) |
RowTop Method (TDBCombo)
The RowTop method returns the Y coordinate of the top of a visible row relative to the top of the control, as given by the control's Top property.
object.RowTop (rownumber)
Arguments
rownumber is an integer denoting a displayed row.
Return Value
A single corresponding to the Y position of the specified display row, based on the coordinate system of the control's container.
Method applies to TDBList and TDBCombo controls.
Allowable values for the rownumber argument range from 0 to VisibleRows - 1.
Use the RowTop method in conjunction with RowHeight, Left, and Width to determine the size and placement of controls displayed on top of a control cell.
See Also