Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread C/S With DevEx QuantumGrid Progress Indication
Wed, Jul 5 2006 2:25 PMPermanent Link

"Johnnie Norsworthy"
Using DBISAM 4 client/server with DevExpress grids set to load all records,
how does one show progress when retrieving from the server? Is there a way
to abort long grid loads?

Thanks,
Johnnie

Thu, Jul 6 2006 2:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Johnnie,

<< Using DBISAM 4 client/server with DevExpress grids set to load all
records, how does one show progress when retrieving from the server? >>

There really isn't any way short of using the
TDBISAMSession.OnRemoteReceiveProgress event, but that really isn't a great
choice due to the nature of how it works.

Remember to set the RemoteReadSize property for the TDBISAMTable/Query to
something decent, also.

<< Is there a way to abort long grid loads? >>

Not unless there is such a facility in the DevExpress grid.  It's really the
controller of things during such an operation.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Jul 7 2006 1:35 AMPermanent Link

"Ralf Mimoun"
Johnnie Norsworthy wrote:
> Using DBISAM 4 client/server with DevExpress grids set to load all
> records, how does one show progress when retrieving from the server?

I simply use the AfterScroll event of the dataset. ProgressBar.Max :=
Dataset.RecordCount, and then ProgressBar.Step in AfterScroll. Works for me.

> Is there a way to abort long grid loads?

Not that I am aware of.

Ralf
Fri, Jul 7 2006 2:10 PMPermanent Link

"Johnnie Norsworthy"
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:B4BCCAF6-8CE6-4361-995C-5673460DAC68@news.elevatesoft.com...
> << Using DBISAM 4 client/server with DevExpress grids set to load all
> records, how does one show progress when retrieving from the server? >>
>
> There really isn't any way short of using the
> TDBISAMSession.OnRemoteReceiveProgress event, but that really isn't a
> great choice due to the nature of how it works.
>
> Remember to set the RemoteReadSize property for the TDBISAMTable/Query to
> something decent, also.

RemoteReadSize is my new friend. Thanks.

Image