For Programmers: Free Programming Magazines  


Home > Archive > Delphi > July 2004 > Help with closing child form windows...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help with closing child form windows...
Obliviator

2004-07-20, 3:57 am

I've looked all over online and found the same code to use with all of
them, but there for older versions and don't seem to work with mine.
I'm using Delphi 8 .NET by the way. Here is the code:

procedure TfrChild.FormClose
(Sender: TObject; var Action: TCloseAction);
begin
Action := caFree;
end;

I've even created a brand new project naming everything to match the
code example, yet it still doesn't work. Keeps coming up with "unknown
procedure" or something of the sort for the FormClose option. Any help
would be greatly appreciated. Thanks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com