Linux Grid Metrics lazarus / 31-LCL ---------------------------------------------------------------------- Blaazen · 2011-04-02 21:55 A few related questions. I need double-click on a grid header and to know coords of header cell [0, 0], [1, 0] ... but StringGrid1DblClick(Sender: TObject); gives only Sender. Grids have public functions MouseTocell but it requires mouse coords related to grid (where [0,0] is top left corner) and I have only mouse.CursorPos . Is there any standart way ? (maybe I can do it using OnMouseUp) And is there linux equivalent for windows.GetSystemMetrics ? ---------------------------------------------------------------------- circular · 2011-04-02 22:43 You can handle the MouseMove event and store at this moment where the mouse is. ---------------------------------------------------------------------- Blaazen · 2011-04-02 22:55 Thanks. Finally I will use StringGrid1HeaderClick(Sender: TObject; IsColumn: Boolean;  Index: Integer); I will store IsColumn and Index to some global variable and reuse them on DoubleClick, so it is not so much unefficient.