• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

Does anybody know how can I...

... turn off the vertical scroll bar
in DBGrid component?
0
grebov
Asked:
grebov
1 Solution
 
intheCommented:
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

Industry Leaders: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now