{$IFDEF VER140}
procedure EditProperty(const Prop: IProperty
var Continue: Boolean)
override;
{$ELSE}
procedure EditProperty(PropertyEditor: TPropertyEditor
var Continue,
FreeEditor: Boolean)
override;
{$ENDIF}
{$IFDEF VER140}
procedure TdhcgComponentEditor.EditProperty(const Prop: IProperty
var Continue: Boolean);
var
PropName: string;
begin
PropName := Prop.GetName;
if (CompareText(PropName, 'Headers') = 0) then begin
Prop.Edit;
Continue := False;
end;
end;
{$ELSE}
procedure TdhcgComponentEditor.EditProperty(PropertyEditor: TPropertyEditor
var Continue,
FreeEditor: Boolean);
var
PropName: string;
begin
PropName := PropertyEditor.GetName;
if (CompareText(PropName, 'Headers') = 0) then begin
PropertyEditor.Edit;
Continue := False;
end;
end;
{$ENDIF}