problem with scrolling of RxDBGrid lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- RusDeveloper · 2016-04-05 07:06 Hello I have problem with scrolling of RxDBGrid to the right when grid have long string data. How to fix it? P.S. I use Windows 7, Lazarus 1.6, rxnew 2.8.2.181. ---------------------------------------------------------------------- alexs75 · 2016-04-05 09:57 Lazarus 1.7 r52104M FPC 3.1.1 x86_64-linux-gtk 2 work normal. ---------------------------------------------------------------------- RusDeveloper · 2016-04-05 13:49 Quote from: alexs75 on April 05, 2016, 11:57:16 amLazarus 1.7 Where I can download it??? And what is http://www.lazarus-ide.org/??? There is only Lazarus 1.6. ---------------------------------------------------------------------- alexs75 · 2016-04-05 14:08 i'm make it from svn source - http://svn.freepascal.org/svn/lazarus/trunk ---------------------------------------------------------------------- RusDeveloper · 2016-04-05 14:14 Did you try to hint me that I must use earlier version of Rx for Lazarus 1.6? I don't understand how to compare the versions of the components and version of Lazarus... ---------------------------------------------------------------------- RusDeveloper · 2016-04-05 14:20 and why simple DBGrid behaves the same way? ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-05 14:32 Alexs75 was just reporting that it's fine on his system.  You haven't provided enough information for anyone to wave a magic wand and fix your problem. I'm also using DBGrid on Windows 7, seems to be fine to me.   Perhaps then it's your underlying code?  How are you populating the DBGrid?  Anything special about the table? My connection component is Zeos.  I'm connecting to Oracle, and using a TZQuery.  The string field I'm testing with is 2000 characters.  In my population code I'm manually setting the grid column width to it fits on the screen.  To test the functionality you reported I ran my app, then manually widened the column width so it's wider than the window, then scrolled the vertical scroll bar back and forth and confirmed everything works as expected.  Obviously this isn't what you're doing, so please report exactly what it is you're doing. Can you produce a minimal app that reproduces the issue? ---------------------------------------------------------------------- RusDeveloper · 2016-04-06 07:45 Quote from: Mike.Cornflake on April 05, 2016, 04:32:24 pmCan you produce a minimal app that reproduces the issue? I can't. Because there is connection to database. But I tested TDBGrid, TFZDBGrid, TJDBGridControl, TKDBGrid, TRxDBGrid in Typhon IDE 5.7 and got same problem on Windows 7. ---------------------------------------------------------------------- balazsszekely · 2016-04-06 08:17 Quote@RusDeveloper Because there is connection to database.This is not a good reason! Just create a test table with some dummy data, then export it to a script. ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-06 11:32 QuoteI can't. Because there is connection to database. I usually use TSDFDataset in such cases, it's easy enough to create CSV on the fly.  I've been meaning to investigate TBufDataset as well. QuoteBut I tested TDBGrid, TFZDBGrid, TJDBGridControl, TKDBGrid, TRxDBGrid in Typhon IDE 5.7 and got same problem on Windows 7. This adds information to the puzzle, which is good.  But nowhere near anything useful as obviously others here, myself included have been unable to reproduce your issue.  Please either provide code, or detailed steps that you're following to populate your DBGrid... Well actually, the new information raises one question:  All those components share a common ancestor, as do some non-DB components.  Does the issue repeat in either a TDrawGrid or TStringGrid on your system?  If so, then *please* share some code. UPDATE:  Oh, I see.  You cross posted and in the other post someone provided more information. ---------------------------------------------------------------------- RusDeveloper · 2016-04-06 12:47 The problem was solved. http://bugs.freepascal.org/view.php?id=28889