Sorry for asking a question about CDDBGrid as I learned that it is not supported anymore. Although I use this component very often.
the only very important thing for me missing is the public property Scrollbars.
My experience with component-writing is little, so the source-code does not help me to integrate easily a property "Scrollbars" (like in TMemo) into it.
For a real programmer it would take almost no-time i am sure.
Is there someone out there who already extended the CRDBGrid - or give me a literature reference - or directly a code snippet?
Thanx
CRDBGrid with property Scrollbars(ssNone,ssHorizontal,ssVertical,ssBoth)
-
quadrophenia
- Posts: 3
- Joined: Sun 08 Apr 2007 19:18
This property persists in DBGrids, but it is protected. You can try to add the declaration of ScrollBars in the public or published sections of TCRDBGrid to be able to change its value. However I do not think that this is a good solution, as changing a value of this internal property manually may lead to unpredictable behaviour of the grid.
-
quadrophenia
- Posts: 3
- Joined: Sun 08 Apr 2007 19:18
Unpredictable
With my little knowhow about component-development I exactly tried you solution. Unfortunately as you assume the result is strange and unpredictable.
However thank you for the answer.
However thank you for the answer.