I encounter same trouble in Lazarus 1.0, and not remember, that it appear
in 1.2+ Maybe there some kind of code degradation?

Workaround is:
1. Assign TFrame.Parent after creating TFrame, not in TFrame constructor.
2. When you create controls programmatically, make their parent (form,
frame, panel..) Visible := False
3. Do not create many similar frames instances, re-use already created
frames if possible. For example, for TPageControl with many similar frames
better using TTabControl and change content in one frame. And when that
frame not needes, just make it invisible.
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to