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

Error on VertGridEh.Rows.Clear
http://forum.ehlib.com/en/viewtopic.php?f=5&t=977
Page 1 of 1

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

Hello,

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

Thanks
Rafael

Attachments:
ClearRows.zip [217.85 KiB]
Downloaded 419 times

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