🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages Started by Georgi Yanchev Fri, 22 Dec 2000 11:02
TDBGrid Scrolling
#5875
Author: Georgi Yanchev
Date: Fri, 22 Dec 2000 11:02
10 lines
1175 bytes
Hi,

     My name is Georgi Yanchev. I created a class derived from TDataSet the
problem is that when it's used with DBGrid the scroll bar doesn't respond
accurately to the position of the current record.

    Is there a solution.

                                                         Thank you in
advance: Georgi Yanchev
Re: TDBGrid Scrolling
#5881
Author: Mark Cashman
Date: Wed, 27 Dec 2000 23:03
15 lines
1411 bytes
Hi, Georgi!

Unfortunately, probably not. Most client / server databases don't return
the record count needed to produce a properly scaled scrollbar.

I believe this only works as you desire when using Paradox as the DBMS.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Re: TDBGrid Scrolling
#5892
Author: Georgi Yanchev
Date: Wed, 03 Jan 2001 08:00
30 lines
2057 bytes
Hi Mark,
    Thank you for your responce, but maybe you didn't understand what I
meant. I created a class derived from TDataset in fact I overloaded the pure
virtual methods of TDataset to use a betrive database which gives me some
approximation for the current record the problem is that I don't know if I
should overload some virtual methods to let the DBGrid know current
position. Just like TTable lets this to TDBGrid.

                                    Thank you in advance: Georgi


"Mark Cashman" <mcashman@temporaldoorway.com> wrote in message
news:3A4A7555.2BC6A73E@temporaldoorway.com...
> Hi, Georgi!
>
> Unfortunately, probably not. Most client / server databases don't return
> the record count needed to produce a properly scaled scrollbar.
>
> I believe this only works as you desire when using Paradox as the DBMS.
>
> ------
> Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
> http://www.temporaldoorway.com
> - Original digital art, writing, music and more -
> C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
> (Join us!)
> http://www.temporaldoorway.com/programming/index.htm
> ------
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads