Hi all,
I've ported some Delphi components to Lazarus; but there's a difference in behavior that I'd like to resolve if I could...
In both Lazarus and Delphi, when a user drops one of our design-time components on a form, the unit containing the class definition is added to the project. So far, so good... but Delphi also adds several additional units that contain some supporting data type definitions to the uses clause. In Lazarus, only the first unit is added.
For instance, if I drop a TAdsTable component, Delphi adds the adstable (which contains the TAdsTable definition), as well as adsfunc and adsdata units to the uses clause. In Lazarus, only the adstable unit is added. Is there something that I can (or need to) change in my package to tell Lazarus to add these additional units when creating the component at design-time, or is there potentially a Lazarus issue that prevents the IDE from adding all necessary units to satisfy all of the dependencies? Thanks for any suggestions!