On Mon, 10 Mar 2014 13:37:59 -0700 (PDT) Jesus Reyes <[email protected]> wrote:
>[...] > But now things are clearer as you say the problem is at design time, and yes, > the issue can be reproduced. The problem here is LazReport (in form1) can't > get an instance to Datamodule1.Dbf1 at Lazarus design time. At design time, > the object inspector knows how to get an instance to a component residing in > a external form/datamodule but LazReport designer at Lazarus design time > doesn't know. > > This is basically to Mattias, is it possible to register at design time data > modules so they appear in FindGlobalComponentList? any other solution? FindGlobalComponentList is for the currently running application - the IDE itself. Properties in the OI use the property editors. A TComponent property uses the TComponentPropertyEditor, which allows to select type compatible components from any open designer form including datamodules. What property does not work? Is this a problem in the OI or in LazReport? Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
