Property Editors in Delphi 2007

I just finished port some old custom controls from Delphi 5 to Delphi 2007 and learned about some more differences between Delphi 5 and Delphi 2007.

  1. If you have written your own property editors you have to add DesignIntf rather than DsgnIntf and you need to add DesignIde.dcp to your projects Requires list. It is no longer possible to hard link DsgnIntf.dcu (or DesignIntf.dcu for that matter) into your project as it will no longer compile.
  2. If you wrote design editors to provide meaningful choices in the combobox for enumerated properties, this is no longer necessary. Delphi 2007 will use the names of the enumerated values in the combobox without the use of a custom property editor.

Leave a Reply