[Lazarus] Support for dotted unit name

Sven Barth pascaldragon at googlemail.com
Sat Nov 5 13:48:24 CET 2011


Am 04.11.2011 22:52, schrieb leledumbo:
>>  From the CodeRage 6 videos all I could see is that they now
> differentiate between VCL (eg: vcl.forms.pas) and FireMonkey (eg:
> fm.forms.pas) units.
>
> Too bad... now they will face problems when refactoring the framework,
> possibly causing users to create ifdefs in uses clause. I don't really know
> the compatibility between VCL and FireMonkey, but if many widgets have the
> same properties and methods, include file hack (as used in FPC for using
> include files from different directories depending on target platform)
> should be used instead.

VCL and FireMonkey aren't that compatible. They simply decided that they 
want to use simple unit names for FireMonkey as they did for the VCL 
originally.

Regards,
Sven





More information about the Lazarus mailing list