Solved

Does anybody know how can I...

Posted on 2000-03-12
1
131 Views
Last Modified: 2010-04-04
... turn off the vertical scroll bar
in DBGrid component?
0
Comment
Question by:grebov
1 Comment
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 2610291
Hi
there is an API function you can use to show or hide the window scrollbars
 of about any window or control:

ShowScrollbar( dbgrid1.handle, SB_VERT, False );

or

ShowScrollbar( dbgrid1.handle, SB_HORZ, False );

or

ShowScrollbar( dbgrid1.handle, SB_BOTH, False );

Regards Barry

ps.
 can do it on formactivate event etc..
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now