Error on VertGridEh.Rows.Clear
Page 1 of 1

Author:  rfjordao [ 22 Apr 2019, 18:57 ]
Post subject:  Error on VertGridEh.Rows.Clear


On a form in my system I dynamically insert rows into a TDBVertGridEh, to insert new rows i need to remove the ones that i inserted before with the VertGridEh.Rows.Clear command.

On EhLib 9, before removing the rows it is necessary to move the cursor to the first line, otherwise the error "List index of bounds" occurs.

Attached is a code with a simple example and a video with error.

I am using Delphi 2010 and EhLib 9.3.022


Attachments: [217.85 KiB]
Downloaded 419 times

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group