Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ClientDataSetGrid is finally updated

8 views
Skip to first unread message

John Kaster (Borland)

unread,
Jul 20, 2004, 2:43:42 PM7/20/04
to
http://blogs.borland.com/johnk/archive/2004/07/20/889.aspx

After years of extreme patience from users of the ClientDataSetGrid
component, I've finally updated it to the latest version.
New features in this version include:
- Support for VisualCLX
- Support for Delphi versions up to 7.x
- rewrote the arrow drawing routine to be more configurable and
included the index order information
- implemented SetIndexIndicators added TitleSort, ArrowShade,
ArrowHighlight, ArrowColor
- added ConfigureColumns & persistence for the columns with ConfigFile
property
- Adopted a suggestion from Ruud Bijvank for making sure the drawn
arrow is not drawn over the title of the column.

Follow-ups go to the DataSnap newsgroup

--
John Kaster, Borland Developer Relations, http://bdn.borland.com
BorCon2004, all info in one place! http://info.borland.com/conf2004
Features and bugs: http://qc.borland.com
Get source: http://cc.borland.com
Unofficial information overload: http://blogs.borland.com

Rick Carter

unread,
Jul 21, 2004, 10:43:15 AM7/21/04
to

"John Kaster (Borland)" <jo...@borland.com> wrote:
>http://blogs.borland.com/johnk/archive/2004/07/20/889.aspx
>
>After years of extreme patience from users of the ClientDataSetGrid
>component, I've finally updated it to the latest version.

Yep, and I eagerly tried loading and installing it.

Either I'm doing something really dumb, or something's wrong
with the source. I try to add the component, but the component
never appears on the list of installed components.

Rick Carter
cart...@despammed.com
Chair, Delphi/Paradox SIG, Cincinnati PC Users Group

Morten Bergman

unread,
Jul 21, 2004, 11:17:05 AM7/21/04
to
Rick,
I think you're supposed to create it during run-time, e.g. in the FormCreate
event:

with TClientDataSetGrid.Create(self) do
begin
Parent := self;
Align := alClient;
DataSource := DataSource1;
end;

-Morten

"Rick Carter" <cart...@despammed.com> wrote in message
news:40fe8103$1...@newsgroups.borland.com...

Rick Carter

unread,
Jul 21, 2004, 12:59:59 PM7/21/04
to

"Morten Bergman" <morten03@marbase[nospamthanks].com> wrote:
>Rick,
>I think you're supposed to create it during run-time, e.g. in the FormCreate
>event:

Well, I suppose that's one way around things.
But the earlier version of the component did appear on the
component palette, and on the component list.

John Kaster (Borland)

unread,
Jul 21, 2004, 5:28:50 PM7/21/04
to
Morten Bergman in <40fe88f1$1...@newsgroups.borland.com> wrote:

> Rick,
> I think you're supposed to create it during run-time, e.g. in the
> FormCreate event:

That would certainly waste all the design-time work I did on it!

I gave the source to just the component because it's part of a much
larger set I haven't released ... you need to create the registration
call yourself.

What package are you installing it into? Are you getting any
compilation errors? I need more information.

Rick Carter

unread,
Jul 22, 2004, 9:42:40 AM7/22/04
to

"John Kaster (Borland)" <jo...@borland.com> wrote:
>I gave the source to just the component because it's part of a much
>larger set I haven't released ... you need to create the registration
>call yourself.

I see. You can tell I'm not a component writer. :)
Now that I looked at online help for registering components,
it's starting to make sense.

>What package are you installing it into? Are you getting any
>compilation errors? I need more information.

I was trying to install it into dclusr70.bpl, which currently
does not have any other components installed.

Would it work for me to "borrow" the "Register" procedure that's
in the source for the older version of the component?

John Kaster (Borland)

unread,
Jul 22, 2004, 1:12:56 PM7/22/04
to
Rick Carter in <40ffc450$1...@newsgroups.borland.com> wrote:

> Would it work for me to "borrow" the "Register" procedure that's
> in the source for the older version of the component?

Sorry to make it difficult for you. Yes, that register procedure will
work.

Rick Carter

unread,
Jul 27, 2004, 11:03:43 AM7/27/04
to

"John Kaster (Borland)" <jo...@borland.com> wrote:
>> Would it work for me to "borrow" the "Register" procedure that's
>> in the source for the older version of the component?
>
>Yes, that register procedure will work.

Yep, works fine!

In case anyone else is as challenged as I was, and since the
old code is no longer at CC:

Add this line to interface:

procedure Register;

Add these lines to implementation:

procedure Register;
begin
RegisterComponents('CodeCentral', [TClientDataSetGrid]);
end;

John Kaster (Borland)

unread,
Jul 27, 2004, 11:51:51 AM7/27/04
to
Rick Carter in <41066ecf$1...@newsgroups.borland.com> wrote:
> Add these lines to implementation:
>
> procedure Register;
> begin
> RegisterComponents('CodeCentral', [TClientDataSetGrid]);
> end;

I suggest just sticking it on the existing Data Control tab instead,
since there's only one component to go there.

0 new messages