Re: DBGrid scroll bars
- From: "FrancoJommi" <franco.jommi@xxxxxx>
- Date: Mon, 27 Nov 2006 16:31:46 +0100
I found the InfoPower DBGrid has the capability I need. In fact it has a
property enabling scroll bars or not, but it is possible to match DBGrid
lines and dataset recordCount and act accordingly.
"Bjørge" <bjorge@xxxxxxx> ha scritto nel messaggio
news:5O6dnRNFsbZJ4frYRVnzvQ@xxxxxxxxxxxxxx
FrancoJommi wrote:that
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
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
.
- Follow-Ups:
- Re: DBGrid scroll bars
- From: Bjørge
- Re: DBGrid scroll bars
- References:
- DBGrid scroll bars
- From: FrancoJommi
- Re: DBGrid scroll bars
- From: Bjørge
- DBGrid scroll bars
- Prev by Date: Alignement
- Next by Date: Re: Alignement
- Previous by thread: Re: DBGrid scroll bars
- Next by thread: Re: DBGrid scroll bars
- Index(es):