Schematyczny fragment kodu:
[code]type
TForm1 = class(TForm)
menu: TBcBarMainMenu;
m_file: TMenuItem;
m_f_new: TMenuItem;
m_f_open: TMenuItem;
// itd..
procedure zapisz;
private
{ Private declarations }
public
{ Public declarations }
end;
var
//... itd..
implementation
uses Unit2, Unit3, Unit4;
{$R *.dfm}
procedure zapisz;
begin
// polecenia procedury
end;[/code]
No i procedura "zapisz" nie widzi komponentów np. menu itd...
<font color="red">Wyskakuje: [Error] Unit1_main.pas(145): Undeclared identifier: 'i tu jakis komponent przykładowy'</span>
Cos źle zdeklarowałem ?