<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 14.06.2023 21:52, Vojtěch Čihák via
lazarus wrote:<br>
</div>
<blockquote type="cite" cite="mid:20230614215225.C52676D4@atlas.cz">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-size: small;">Hi,</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-size: small;"><br>
</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-size: small;">I have one more question to <span
style="font-family: Arial, Helvetica, sans-serif;">DoAutoAdjustLayout();.</span></span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-family: Arial, Helvetica, sans-serif; font-size:
small;">I use TECSpinBtns (TGraphicControl) in two variants:</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-family: Arial, Helvetica, sans-serif; font-size:
small;">The first as a stand-alone component and the second as
a part of TECSpinEdit (where TEdit is Owner and TECSpinBtns is
subcomponent anchored to it).</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-size: small;">When I put them on the form, </span><span
style="font-family: Arial, Helvetica, sans-serif; font-size:
15.75px;">DoAutoAdjustLayout()</span><span style="font-family:
Arial, Helvetica, sans-serif; font-size: 15.75px;"> is
triggered only in the first case.</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span
style="font-family: Arial, Helvetica, sans-serif; font-size:
15.75px;">Is it that Owner is responsible to call </span><span
style="font-family: Arial, Helvetica, sans-serif; font-size:
15.75px;">DoAutoAdjustLayout()</span><span style="font-family:
Arial, Helvetica, sans-serif; font-size: 15.75px;"> of owned
controls?</span></p>
</blockquote>
<p>This is strange. All controls should be adjusted regardless of
the Owner. TLabeledEdit works fine (edit that has an attached
label).<br>
</p>
<p>Ondrej<br>
</p>
</body>
</html>