Returns the zero-based index of the display row containing the Y specified coordinate.
[Visual Basic]
Public Function RowContaining( _
ByVal y As Integer _
) As Integer
[C#]
public int RowContaining(
int y
);
[Delphi]
public function RowContaining(
y: Int32
): Int32;
Parameters
y
The vertical coordinate (Y value) in pixels.
Return Value
The display row index beneath the specified Y coordinate.
Remarks
This value ranges from 0 to VisibleRows - 1.
If coordinate is outside of the grid's data area, this method returns -1.
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |