[Lazarus] Form in DLL

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu May 3 20:21:03 CEST 2012


Mark Morgan Lloyd schrieb:

> One thing does occur to me, and that is that if the IDE was used to 
> create a form stored in a DLL (or, presumably, a shared object library) 
> then it even if it's not animated it should be usable as a template for 
> copying to a blank form in the main program. And code to do that, once 
> written, should be fairly general.

At least in Delphi ReadComponentResEx can be used to load the form 
components into another form (or compatible control). The links to event 
handlers must be handled somehow, of course.

DoDi





More information about the Lazarus mailing list