Показать сообщение отдельно
  #4  
Старый 03.05.2013, 00:53
alexkhua alexkhua вне форума
Прохожий
 
Регистрация: 01.05.2013
Сообщения: 3
Версия Delphi: Delphi 7
Репутация: 10
По умолчанию

Проблема решена, сначала необходимо освободить дочерние формы.
procedure OnFree;
begin

if assigned(Button1) then Button1.Free;
if assigned(Button2) then Button2.Free;
if assigned(Button3) then Button3.Free;
if assigned(Button4) then Button4.Free;
if assigned(OnClickAction) then OnClickAction.Free;
if assigned(L) then L.Free;
if assigned(Form) then Form.Free;
Ответить с цитированием