[Lazarus] Component palette enhancements

Marco van de Voort fpc at pascalprogramming.org
Wed Apr 6 19:48:48 CEST 2022


On 6-4-2022 14:47, Michael Van Canneyt via lazarus wrote:
>
> * When writing: write UnitName.ComponentName instead of ComponentName.
>   A trivial change, which can be done in a backward compatible manner.

It only will break compatibility with Delphi needlessly.   This will 
complicate making e.g. demoes for shared library packages.

If component names have units,  and units have a package (vcl. etc) 
prefix, maybe it is simply enough to register the prefix in the reader 
library and then disambiguate between the various units based on the 
package prefix.

The default would remain VCL (or LCL, depending on what is chosen) to 
remain backwards compatible. This way the incompatibility is on a single 
point rather than in every streamed component.




More information about the lazarus mailing list