[Lazarus] Form Resource Files
Andrew Brunner
andrew.t.brunner at gmail.com
Sat Nov 21 04:14:53 CET 2009
Hello,
I'm using Lazarus 0.9.29 r22691M FPC 2.5.1 x86_64-linux-gtk 2 (beta).
When I create a form and place in the uses section of the interface the data
module, some forms with data aware components can find the datasource, while
other forms with data aware components can not find the Datasources.
For example:
unit unit1;
interface
Classes , SysUtils , db , sqldb , XMLCfg , FileUtil ,
LResources , Forms , Controls , Graphics , Dialogs , DbCtrls , ExtCtrls ,
ComCtrls , StdCtrls , Buttons, dmDatabases;
type
TForm1 = class(TForm)
...
end;
...
end.
unit unit2;
interface
Classes , SysUtils , db , sqldb , XMLCfg , FileUtil ,
LResources , Forms , Controls , Graphics , Dialogs , DbCtrls , ExtCtrls ,
ComCtrls , StdCtrls , Buttons, dmDatabases;
type
TForm2 = class(TForm)
...
end;
...
end.
The first form will find the datasource components on dmDatabases unit,
while the second form will not.
What am I missing here ?
Thanks,
Ido
http://ik.homelinux.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091120/7aebacba/attachment-0004.html>
More information about the Lazarus
mailing list