How can I rebuild the Components which came with Delphi?
Posted on 1999-01-18
I need to change some behaviors of TDataSource, which are implemented as private methods. Creating a new class based on TDataSource is not a solution, because by looking at the VCL's source it turns out that Inprise did not follow the rules of object oriented programming all the time: some classes uses other classes private fields. It was easy for them because the classes are in the same unit. As a result in a descended class it seems almost impossible to change or reimplement some of the behaviors of the ancestor class. Also many other components use TDataSource, which makes the problem even more complicated.
The only possibly fast solution I can think of is rebuilding the original components, but as far as I know Inprise has not published the 'dpk' files for their Delphi 4 packages. If someone happened to have those that would probably solve the problem.
This is the first time I am trying to find help on the WEB. I would really appreciate if some had at least a good idea to get me started.