Jump to content


Photo

Scroll, painting issue


  • Please log in to reply
17 replies to this topic

#1 Thomas Steinmaurer

Thomas Steinmaurer
  • Members
  • 131 posts

Posted 01 February 2010 - 04:26 PM

Hello,

I have a problem with NextDBGrid that is related to scrolling in the dataset. It seems to be a painting issue.

* After opening the result set, I have something like shown in Attached File  Clip1.jpg   68.49KB   12 downloads.
* Then I use the Page-Down key several times. I do get something like in Attached File  Clip2.jpg   69.4KB   12 downloads. See the gap between 53 and 90, although there are records between these numbers.
* Then I navigate to a previous record with a mouse-click. The selected record gets redrawn and thus shows the proper data. Attached File  Clip3.jpg   69.02KB   14 downloads

In general, when I switch to another application and then back to my application, thus if a repaint gets enforced, the currently displayed data is shown correctly, until the next scroll event as discussed above is issued.

I'm using D2010 Prof., NextDBGrid 5.0.5.

Thanks
Thomas
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and NexusDB V2
Upscene Productions: http://www.upscene.com
My blog: http://blog.upscene.com/thomas/

#2 jerz

jerz
  • Members
  • 9 posts

Posted 12 February 2010 - 08:04 PM

Hi,

I have the same proble. What is the solution?

(BSD 2006 + AnyDac 2)

--
Jerzy

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 12 February 2010 - 08:18 PM

Hello,

I am still working on solution. Workaround is to set doBufferRecords to True in DataAwareOptions and doRetreiveRecords to True.

I hope that in following days I will find a solutions.

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.

#4 jerz

jerz
  • Members
  • 9 posts

Posted 08 April 2010 - 10:46 PM

QUOTE (Boki (Berg) @ Feb 12 2010, 09:18 PM) <{POST_SNAPBACK}>
I am still working on solution. Workaround is to set doBufferRecords to True in DataAwareOptions and doRetreiveRecords to True.


This workaround is not good, especially in large collections and remote work. Can I expect to solve this problem?

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 08 April 2010 - 11:19 PM

Hello Jerz,

Unfortunately I didn't find a solution. I have only partial results with painting bugs while scrolling.

Maybe someone have idea how this problem may be solved, to help me. I am a little bit out of ideas for this problem.

I will continue to work on this problem. Please sorry for taking so much time.

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.

#6 RBi

RBi
  • Members
  • 2 posts

Posted 25 April 2010 - 06:14 PM

Hallo,
if you don't have a workaround, you can test this:
Insert in the procedure TNxGridDataLink.DataSetScrolled this line
....
inherited;
FGrid.Invalidate;
end;

Ralf

#7 jerz

jerz
  • Members
  • 9 posts

Posted 29 April 2010 - 02:56 PM

Boki,

Is Integration solution is acceptable in the long run?


Regards
j

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 29 April 2010 - 07:06 PM

Hello jerz,

Maybe I didn't understand your question, but I will try to go arround RBi's tip.

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.

#9 jerz

jerz
  • Members
  • 9 posts

Posted 29 April 2010 - 09:43 PM

Sorry for the mistake, I wanted a solution given by the RBI's.

#10 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 09 May 2010 - 10:59 PM

Hi,

Solution from RBI worked fine, but there is a problem when scrolling up after successfully scrolling down.

I am working on them.

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.

#11 jerz

jerz
  • Members
  • 9 posts

Posted 08 June 2010 - 02:42 PM

Hi Boki,

are there any news on this subject?


--j

#12 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 08 June 2010 - 06:09 PM

Hello Jerz,

Please sorry, but I don't know the solution. I will need more time to solve it sad.gif

If you want, I may refund your order sad.gif

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.

#13 Thomas Steinmaurer

Thomas Steinmaurer
  • Members
  • 131 posts

Posted 22 March 2011 - 11:56 PM

Hello,

I wonder if you made any progress with that? I really like NextGrid, but IMHO NextDBGrid isn't useable, because it heavily relies on an accurate record number of the underlaying TDataset-based component, which is a NO-GO for client/server environments with largish tables.

TDBGrid is fine. TSMDBGrid from Scalabium works fine as well.

So, any new information on this issue?

Thanks,
Thomas
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and NexusDB V2
Upscene Productions: http://www.upscene.com
My blog: http://blog.upscene.com/thomas/

#14 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 23 March 2011 - 02:38 PM

Hello Thomas,

I am sorry, but I still don't have a solution for this problem. It is related to the core design of NextDBGrid.

NextDBGrid is not inherited from standard DBGrid and this is why this problem exists.

I am sorry again, this issue gives me a lot of frustrations, because I can't solve it sad.gif I have feel bad when someone have this problem, and I offer to refund or do some other feature instead.

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.

#15 Thomas Steinmaurer

Thomas Steinmaurer
  • Members
  • 131 posts

Posted 24 March 2011 - 04:10 PM

Hmm, ok. blink.gif

Thomas
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and NexusDB V2
Upscene Productions: http://www.upscene.com
My blog: http://blog.upscene.com/thomas/

#16 jerz

jerz
  • Members
  • 9 posts

Posted 05 May 2011 - 05:52 PM

Hi Boki.

Let me know if you solve the problem. We are happy to go back to NextDBGrid, but for now it is useless for me in Client/Server applications.

Regards
Jerzy

#17 Steve Faleiro

Steve Faleiro
  • Members
  • 1 posts
  • Gender:Male

Posted 11 August 2011 - 03:27 PM

I too am getting this issue. Does there exist any resolution at this time?

#18 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 August 2011 - 04:02 PM

Hello Steve,

Unfortunately nothing yet. This problem is related to the core design of NextDBGrid. It gives a some advantages, but as may be seen it gives a problem with this kind of DataSet's.

I am returning from time to time to this problem, but I don't know yet is can be solved.

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