?
Solved

Delphi DBGrid missing scrollbars

Posted on 2009-05-19
1
Medium Priority
?
1,666 Views
Last Modified: 2013-11-23
I have a list of contact records displayed in a dbgrid.  Works fine on my system, but the client is reporting random problems on multiple machines with the vertical scrollbars not appearing, so they have to use the keyboard arrows to scroll up and down.  

The contacts are detail records. If the user scrolls through the master records, the scroll bars on the contacts grid appears on every other master record, irrespective of the number of records being more than can be displayed.

Comctl32.dll is usually the first point of suspicion, I am using 5.82.2900.2982, the client is using 5.82.2900.5512. I don't seem to be able to find what version I should be running.  All machines running XP Professional.
0
Comment
Question by:rogerfg7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 38

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 24421404
are you switching the scrollbars on and off by code ?

see this thread:
https://forums.codegear.com/thread.jspa?threadID=16348

Even though that bug report is marked as "Status: Closed" and
"Resolution: Fixed", the bug is still present in Delphi 2009 with
updates 1 and 2, which is what I'm using. I posted my experience on the
web page you suggested.

The workaround did the trick, however:
myGrid.Align := alNone;
myGrid.Height := myGrid.Height - 5; {kick in the shins}
myGrid.Align := (restore original align)

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question