Page 1 of 1

recompiling crdbgrid

Posted: Tue 09 Sep 2008 10:08
by jkuiper
I want to put some extra code into TCRDBGrid like seeing graphics and checkboxes. But I see only the source file. Do I have to put this sourcefile into a new package? Doesn't delphi complain if this component already exists?

Posted: Thu 11 Sep 2008 06:57
by Dimon
You can find the crcontrolsXX.dpk package that installs the TCRDBGrid components, in the CRDBGrid\Source\DelphiX\ directory.

Posted: Mon 06 Oct 2008 12:20
by jkuiper
I've added some features like checkbox in column class and rowcolumn for odd and even rows. Is it usefull to upload them to you, or is it better to rename the class to another name?

Why is the installation of MyDAC putting the crcontrols105.bpl in c:\program files\codegear\5.0\bin (version 5.5) or in c:\windows\system32 (5.2)?

Posted: Tue 07 Oct 2008 14:26
by Dimon
jkuiper wrote:I've added some features like checkbox in column class and rowcolumn for odd and even rows. Is it usefull to upload them to you, or is it better to rename the class to another name?
The TCRDBGrid component is not developed. Therefore you can rename the class to another name or change code straight in the TCRDBGrid's source code.
jkuiper wrote:Why is the installation of MyDAC putting the crcontrols105.bpl in c:\program files\codegear\5.0\bin (version 5.5) or in c:\windows\system32 (5.2)?
In both version (5.2 and 5.5) crcontrols105.bpl is put in both these directories, as it is used as designtime and runtime package.

Posted: Wed 08 Oct 2008 10:04
by jkuiper
As far as I know, D2007 put its bpl's into a opendirectory where D2007 can find the bpl's (XP: "My Documents\Borland Studio Projects\Bpl", Vista: users directory).
If I remove the crcontrols105.bpl from c:\windows\system32 and c:\program files\codegear\5.0.\bin it'works fine. I can even recompile the bpl. So why can't the install put the bpl into the correct directory?

Posted: Fri 10 Oct 2008 12:19
by Dimon
This behaviour is connected with the fact that TCRDBGrid is installed with several DAC products and also with traits of some IDE.
Just delete the crcontrols105.bpl from c:\windows\system32 if you need, and all will work.