Jump to content


Photo

Insertrow-Bug found


  • Please log in to reply
2 replies to this topic

#1 Falcon

Falcon
  • Members
  • 29 posts

Posted 11 February 2017 - 11:04 AM

Bug found in Nextgrid Ver. 6.0.13.

 

Startpoint is an empty grid.

 

Result after first time execution of
 
  nextgrid61.InsertRow(0,1);
  Nextgrid61.Cell[0,0].AsString:=inttostr(Counter)+'. execution';

 
is exactly one correct row within grid.

 

The next execution result are three rows,
the new row and two times the row i am

inserted before.

 

Third execution - new row, two times first old
row and two times second old row = five rows.

 

And so on.

 

See the picture.

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 11 February 2017 - 11:17 PM

Hi,

I found it. It's a refresh problem (paint more rows that it's added). I will fix it during this week.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 11 February 2017 - 11:17 PM

PS. Until it's fixed, you can do Invalidate or Repaint after adding rows.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users