[Lazarus] Buttons in frames

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 7 11:53:27 CET 2013


On Thu, 07 Feb 2013 08:36:48 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:

>[...]
> >>> Is this correct:
> >>> Project directory is
> >>> /usr/local/src/heavywethers/trunk
> >>> Unitpath is "../inifiles/trunk"
> >> Correct.
> >>
> >>> So these files belong to the project:
> >>> /usr/local/src/heavywethers/inifiles/trunk/*.pas
> >>> These can *not* be found by the project:
> >>> /usr/local/src/inifiles/trunk/*.pas
> >>>
> >>> Now you are asking about the non-project unit:
> >>> /usr/local/src/inifiles/trunk/dbconfigcode.pas
> >> No, dbconfigcode.pas and dbconfigcode2.pas are both explicitly in the 
> >> project. As are a number of other units in ../inifiles/trunk.
> > 
> > Huh?
> > "../inifiles/trunk" is "/usr/local/src/heavywethers/inifiles/trunk".
> > 
> > The folder "/usr/local/src/inifiles/trunk" is not in the unit path.

Is the folder in the unit path?


> >>> Where is TDbConfigFrame defined?
> >> In dbconfigcode2.pas. And the form onto which it's placed is in 
> >> dbconfigcode.pas.
> 
> Somebody else has just reported this as 
> http://bugs.freepascal.org/view.php?id=23847 including an example project.

That example works here.
If you can reproduce the bug please give some hints.

Mattias
 




More information about the Lazarus mailing list