StringGrid scrollbars not visible with DefaultDrawing set to false

I am writing a Windows 32 application that uses a VCL StringGrid component using Embarcadero C++ Builder XE2.
I have set the StringGrid component DefaultDrawing property to false and the string grid is displaying its data using code placed in the OnDrawCell event handler.
For conditions when the number of rows in the string grid exceed the available space in the screen grid, I need to use a vertical scroll bar to allow navigation to "off screen" data rows. I have set the ScrollBars property in the StringGrid to ssVertical but no scroll bar appears and "off screen" data cannot be viewed.
How do I get vertical scroll bars in this situation, bearing in mind that I am using C++ Builder ?
LVL 2
Roger AlcindorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Geert GOracle dbaCommented:
Almost the first thing i do after installing Delphi is look for better components
The stringgrid is a very very basic grid.

You can fix issues in it, but you'll find you'll be repeating yourself in fixing a miriad of problems in it.
with google you'll find a lot of fixes
http://www.delphipages.com/forum/showthread.php?t=120690
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21341441.html

I would check out tory for better alternatives
http://torry.net/pages.php?id=114

if you have the budget, there is some very good grids like the quantumgrid
it'll save you a lot of time too
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Roger AlcindorAuthor Commented:
Very useful information.
In fact the problem turned out to be one of my own making; in my code I had set the Grid height according to the required number of rows and therefore the vertical scroll bar was not showing.
Thanks for your comment,

Roger
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.