Вниз
Скачать: CL | DM;

Action Manager мешает наследовать формы?   Найти похожие ветки 

← →
kdy   (2004-08-06 10:36) [0]

Сделал форму, добавил её в депозитарий.
Потом в другом проекте пытаюсь её наследовать - и получаю такое сообщение:
Error creating form: cannt inherit from "fF10". Contains a component
"ActionManager1" that does not support inheritance.
А формочку очень нужно наследовать.
Как это сделать?


← →
kdy   (2004-08-06 15:11) [1]

ау


← →
Гаврила ©   (2004-08-06 15:12) [2]

видимо, не использовать Action Manager


← →
kdy   (2004-08-09 09:23) [3]

> видимо, не использовать Action Manager
фигня получается
как это - в delphi и нет наследования... Это ж его стандартный компонент, которым наверняка очень многие пользуются.


← →
TUser ©   (2004-08-09 09:33) [4]

Все там наследуется
unit Unit1;

interface

uses
 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
 Dialogs, ActnList, StdCtrls;

type
 TForm1 = class(TForm)
   ActionList1: TActionList;
   Action1: TAction;
   Button1: TButton;
   procedure Action1Execute(Sender: TObject);
   procedure Button1Click(Sender: TObject);
 private
   { Private declarations }
 public
   { Public declarations }
 end;

 TForm2 = class(TForm1)
  private
  public
   constructor Create;
  end;

var
 Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Action1Execute(Sender: TObject);
begin
application.Terminate;
end;

constructor TForm2.Create;
begin
  inherited Create(Application);
  Button1.Free;
  Caption:="inherited";
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  with TForm2.Create do
     Show;
end;

end.


← →
kdy   (2004-08-09 09:53) [5]

> [4] TUser ©   (09.08.04 09:33)
действительно так работает...
а что ж тогда означает это самое
<< Error creating form: cannt inherit from "fF10". Contains a component
"ActionManager1" that does not support inheritance. >>



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.036 c
3-1090909555
Submarine
2004-07-27 10:25
2004.08.22
Может кто знает как вытащить данные из поля "bytes" в Paradox


3-1090559341
korvin
2004-07-23 09:09
2004.08.22
Индексы


14-1091692034
GRAND25
2004-08-05 11:47
2004.08.22
Мы тут все отдыхаем, что ли?


3-1091042667
aaa_loto
2004-07-28 23:24
2004.08.22
паковка базы


3-1091101972
SergP
2004-07-29 15:52
2004.08.22
Проблема с запросом...(LEFT JOIN)




   Наверх