[fpc-pascal] Class type to package name?

Michael Van Canneyt michael at freepascal.org
Fri Jul 21 12:39:05 CEST 2017



On Fri, 21 Jul 2017, Anthony Walter wrote:

> When I register a component with the IDE it is installed from a package.
> The package has a name. I want to know the name of the package, given a
> class type of a component registered in the IDE.
>
> See this issue:
>
> https://bugs.freepascal.org/view.php?id=32182
>
> procedure RegisterForm(const Package: string; FormClass: TCustomFormClass;
> const Category, Caption, Description, Units: string);
>
> I would like to simplify this further by omitting the Package string if it
> could be computed from the FormClass parameter.

So you mean a lazarus package. 
In that case, you had better ask this on the lazarus mailing list ?

By sending the mail here, I was not sure whether you meant (future)
dynamic package support or current Lazarus package support.

Michael.



More information about the fpc-pascal mailing list