2016-07-15 13:10 GMT+02:00 Juha Manninen <juha.mannine...@gmail.com>:

> Code design is another issue which should not be mixed here, although
> I still think there is something fishy in that specific use case. It
> could be implemented differently.
>

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 -,- .

-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to