EhLib.Com
https://forum.ehlib.com/en/

DBGridEh not Titles, CellRect bug
https://forum.ehlib.com/en/viewtopic.php?f=5&t=1096
Page 1 of 1

Author:  wiseinfo [ 28 Jul 2021, 16:23 ]
Post subject:  DBGridEh not Titles, CellRect bug

DBGridEh not Titles, CellRect bug

Attachments:
DBGridEh+dgTitles bug.rar [26.97 KiB]
Downloaded 137 times

Author:  EhLibSupport [ 01 Aug 2021, 13:47 ]
Post subject:  Re: DBGridEh not Titles, CellRect bug

Hello wiseinfo

When you write
Code:
  DBGrid.CellRect(0, DBGrid.VisibleRowCount);

Exactly what position of the cell do you want to use?
In the second call, the position of DBGrid.VisibleRowCount will be greater than the number of records in the grid.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/