First of all, I never wrote a property editor from scratch, but had some help with one in another question . See Accepted Answer. That was in Delphi 7, and now I started using XE2, and I have to make sure that my property editor is compatible with both 7 and XE2.
This, in fact, is a collection editor, with the difference that each element of the collection has its own named component in the parent form. Is there anything new about property editors in XE2 with 7 since this is a huge version of jump?
I do NOT want to make a full copy of my device for different versions. I want to support all possible versions in one device.
Edit
It seems that Delphi XE2 has the same property editors as Delphi 7, but the problem I ran into was that although I included DesignIDE in my package, it didn’t find anything, so I had to add ToolsAPI to my way to the library.
However, now I have a new problem after that.
[DCC Fatal Error] ToolsAPI.pas(18): F1026 File not found: 'DockForm.dcu'
I get lost in the whole concept of BPL packages and require others, etc.
delphi custom-component delphi-xe2 delphi-7
Jerry dodge
source share