unit MyUnit;
interface
...
implementation
uses SysUtils,
CastleComponentSerialize,
{$ifdef CASTLE_DESIGN_MODE} , PropEdits, CastlePropEdits {$endif};
...
initialization
RegisterSerializableComponent(TMyComponent, 'My Component');
{$ifdef CASTLE_DESIGN_MODE}
RegisterPropertyEditor(TypeInfo(AnsiString), TMyComponent, 'URL', TImageURLPropertyEditor);
{$endif}
end.