<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-07-15 13:10 GMT+02:00 Juha Manninen <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Code design is another issue which should not be mixed here, although<br>
I still think there is something fishy in that specific use case. It<br>
could be implemented differently.<br></blockquote><div><br></div><div><span style="font-size:12.8px">Change for the AForm's type to IDesignedForm is impossible in mentioned context. </span><span style="font-size:12.8px">IDesignedForm means not only "TForm" but is used also to handle forms for TFrame and TDataModule. </span><span style="font-size:12.8px">IDesignedForm is way to unify usage of TForm (which directly exist as form) and "form containers" for TFrame/TDataModule. Nothing wrong with that. Normal code -,- .</span></div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>