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
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
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...
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.
> 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.
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?
> 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.
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;
I suggest just sticking it on the existing Data Control tab instead,
since there's only one component to go there.