<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 29/11/2021 17:18, Juha Manninen via
lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPN1EhAhA-8aM_SNfzS7+CU7QNcAogvz1EdAz7QcriLwN6ejtA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote"><br>
<div>It allows a Frame to stand without a parent in
the designer or even at runtime in some hypothetical
situation(?).</div>
<div>Using Canvas outside Paint may not be recommended
but it can be done in some widgetsets. The
component's duty is to not crash in designer or
anywhere else when it happens.</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I suspect in the Designer it does not stand alone => The designer
is the parent. But I have not checked.<br>
<br>
As for "at runtime" and "stand alone" (which at design time may not
be possible, if the designer forces itself as parent).<br>
Is that now possible. Has anyone tested?<br>
Just because it can get a handle does not mean it will work if you
try to make the handle visible.<br>
<br>
If it does fine.<br>
<br>
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>
<br>
So can a frame be visible shown standalone? And do we want to
support that. (fix bugs on it, make it work for all widgetsets,
....)<br>
</body>
</html>