Re: DBGrid scroll bars



FrancoJommi wrote:
I want the vertical scroll bar of a DBGrid to show when needed only
(.i.e. when number of rows exceed given space). Is it possible ?

Not very easy, really, because the concept of a TDBGrid is that you only
know whether you're at BOF, EOF or somewhere inbetween. Nothing within that
control knows whether the underlying dataset contains 10 or 10 million
records. It only knows it needs e.g. 10 record buffers to keep data for
number of visible records.
--
Bjørge


.