DBGrid row position on screen lazarus / 31-LCL ---------------------------------------------------------------------- regs · 2016-01-21 20:19 Is there any way to get position of a row on a screen? ---------------------------------------------------------------------- balazsszekely · 2016-01-21 20:59 @regs What do you mean by position? X, Y coordinates of a row relative to the form or screen? Please be more specific! ---------------------------------------------------------------------- regs · 2016-01-22 00:36 yeah ControlToScreen of a row and height of a row ---------------------------------------------------------------------- balazsszekely · 2016-01-22 04:27 @regs Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i var  ACol, ARow: Integer;  Rect: TRect;  P: TPoint;begin  ACol := 3;  ARow := 14;  Rect := DBGrid1.CellRect(ACol, ARow);  P.X := Rect.Left;  P.Y := Rect.Top;  P := DBGrid1.ClientToParent(P, Form1);//relative to form  //P := DBGrid1.ClientToScreen(P); //relativ to screen  ShowMessage(IntToStr(P.X) + '   ' + IntToStr(P.Y)); ---------------------------------------------------------------------- regs · 2016-01-23 15:23 SelectedFieldRect seems to do what's needed.