On Fri, Jul 15, 2016 at 2:22 PM, Maciej Izak <hnb.c...@gmail.com> wrote: > Change for the AForm's type to IDesignedForm is impossible in mentioned > context. IDesignedForm means not only "TForm" but is used also to handle > forms for TFrame and TDataModule. 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 -,- .
Ok, I believe this one is a difficult case because TForm, TFrame etc. don't have those interfaces. You have to stich them in afterwards somehow. I myself learned that design with interfaces requires to turn all params and APIs to use interfaces. It is not easy always. Juha _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel