Jump to content


Photo

Unbuffered mode & Tracking = false


  • Please log in to reply
1 reply to this topic

#1 Dmitry

Dmitry
  • Members
  • 34 posts

Posted 19 October 2008 - 06:15 PM

Hello Boki,
i've prepared a small demo application to illustrate some issues we have with Next DBGrid in Unbuffered mode with no Tracking.

To test it you will need a really huge database (we're working with these DBs that have ca. 50 000 records). You can easily generate it using e.g. MS Access.

The version of the Next DBGrid is the latest available (4.6 from package 4.9.08.1, downloaded 15.10).

Here's the description of what you need to do to reproduce the unwanted issues:

- connect to a datasource (the big DB is needed)
- press the "Last" Button on the DB-navigator: you'll see that the RecNo is changed to the last record, also the cursor is focused on the last record, BUT the thumb on the scrollbar is still like we're on the first record
- now try to press the scroll down button on the scrollbar: you'll see that the grid tries to scroll down painting the next to last record over and over again
- now press the "First" button on the DB-navigator: we're on the first record now, it's OK
- try to press the scroll up button on the scrollbar: the grid will try to scroll up painting the second record every time
- now set the cursor on the record 2, the RecNo is indcated also 2; with the mouse drag the scrollbar thumb a little bit down and then to the most upper position: the RecNo is still indicated 2 but the cursor is disappeared and it's not clearly to see what record is actually the current record
- place the cursor somewhere in the middle of the grid, now try to scroll with the buttons on the scrollbar: the current record will be set every time on the first or on the last record in view (depending on scrolling direction)

All those issues are in our opinion bugs except the last one. But the last is also unexpected and we can accept it only in case there are no possibilities to correct that behaviour.

We'll wait for some comments from you - can these issuse be corrected? What time you'll need to correct them?
Thank you in advace for your feedback.

Attached File  NxDBGrid_unbuffered.zip   5.94KB   6 downloads

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 19 October 2008 - 08:31 PM

Hello Dmitry,

This is unfortunatelly known issue. I am working on it. One user have send me part of code that maybe will help me.

Best regards
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