 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
attila Guest
|
Posted: Fri Jan 02, 2004 8:47 pm Post subject: workaround for self destroying component |
|
|
Hi!
A component shouldnt be freed from one of it's
or it's children's event handler.
Like this code makes acces violation >
TForm1.Button1Click (sender:Tobject) begin
self.free;
end;
what's the workaround if i still would like to
free the component WHEN the event occurs ?
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|