Hi Lazarus developers.

For some odd reason an actionlist (placed on a frame, placed in a tabsheet) that is automatically added to a TCustomForm.FActionLists is not removed from the very same list when the frame is destroyed.

This leaves dangling pointers (to the destroyed actionlist on the frame), which TCustomForm.IsShortCut tries to execute.

I dont know if this is because i'm not destroying my tabsheet correctly - i'm doing a regular tabsheet.free, which I believe in turn should destroy the frame and hence also the actionlist.

A small example demonstrating the problem can be found here: http://pastebin.org/58697
(without the actual frame code though).

Any help would be appreciated.

Kind regards,
Torsten Bonde Christiansen.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to