Solved

Delphi DBGrid missing scrollbars

Posted on 2009-05-19
1
1,633 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 37

Accepted Solution

by:
Geert Gruwez earned 125 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

729 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