[Lazarus] How to stop the ChildSizing?

2020-06-11 Thread Martin Grajcar via lazarus
There's a TPage containing a few components I want to position and size manually (sort of position: 'absolute' in CSS). It works well, but then the LCL comes and overrides my work I've played with Anchors, AutoSize and Align of both the parent (TPage) and child components for quite a while, bu

[Lazarus] Repainting of TWinControl children

2020-05-04 Thread Martin Grajcar via lazarus
In a large project I found out that after on resizing of the form, some components get properly resized but don't receive an Invalidate call. I guess, it's caused by the test in lcl/include/control.inc if not ((csLoading in ComponentState) or (Self is TWinControl)) then InvalidateControl(IsC

[Lazarus] Problem with Order of Events

2019-04-17 Thread Martin Grajcar via lazarus
Some time ago. the fix for 0031900: Order of events: TEdit / TListBox broke a component of mine. I think that the fix does the right thing, however, I don't know how to work around it. My component is composed from an ancestor of TMyComboListbox and s

[Lazarus] Use /dev/null for stdout

2018-10-23 Thread Martin Grajcar via Lazarus
My process may get started with or without console. In the latter case, any write leads to "Disk full" on MacOS. As I can't eliminate all writes, I'd need to open both stdout and stderr as /dev/null. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.

[Lazarus] Get an old version running

2018-07-05 Thread Martin Grajcar via Lazarus
I need to get an old version of Lazarus (like 1.4.2) running. I do have 1.8.2 working, so I though, I just checkout the old one and recompile. Then I ran into the problem described in http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-June/093026.html. I don't think, I can ever understand