<div dir="ltr"><div dir="ltr"><div dir="ltr">On Mon, Nov 29, 2021 at 6:47 PM Martin Frb via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>I suspect in the Designer it does not stand alone => The designer
is the parent. But I have not checked.<br></div></div></blockquote><div><br></div><div>No, it has no parent. That is why it crashed.</div><div>This is with the default IDE with floating windows. With the docked IDE it does have a parent.<br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>If it does not, then we have a new problem.<br>
We now provide a canvas, and let the user believe they painted on
it. But its invisible. And if in order to make it visible, a parent
is required, then that means a new Handle. <br>
So then we throw away the users work. (and the user will forever
wonder way his output is not drawn....)<br></div></blockquote><div><br></div><div>The same potential problem applies to TForm. They both behave equally well now in the designer.</div><div><br></div><div>Juha</div><div><br></div></div></div></div>