Delphi XE2
создаю VCL приложение, затем создаю простую форму
Код:
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,DesignIntf;
type
TAForm = class(TForm)
private
{ Private declarations }
Faaa:Integer;
public
{ Public declarations }
published
property aaa:Integer read Faaa write Faaa;
end;
procedure Register;
var
AForm: TAForm;
implementation
{$R *.dfm}
Procedure Register;
Begin
RegisterCustomModule(TaForm ,TBaseCustomModule);
End;
end.
правой клавишей на этой форме добавляю её в репозиторий, после чего пробую создать Inherit форму через File-->New-->Other-->моя форма + ставлю точку Inherit, выдаёт ошибку Error creating form: Interface not supported
помогите в чём проблема??? задача создать форму с видимыми в Object Inspector'е Published свойствами