Lazarus

Programming => Packages and Libraries => Lazarus Extra Components => Topic started by: slukacs on January 27, 2005, 09:58:47 pm

Title: TDataModule
Post by: slukacs on January 27, 2005, 09:58:47 pm
what module is TDataModule coded in?

i ask because when i start a new DataModule and i click on "Find Declaration" lazarus can not seem to find it.  i am a bit afraid to use the Forms module because it might contain visual components and i definitely do not want that.

lucas
Title: TDataModule
Post by: slukacs on January 28, 2005, 04:12:06 pm
so , i don't get it.  first, what does the directive UseFCLDataModule mean?  TDataModule under Forms.pas is under {$IFNDEF UseFCLDataModule}.

which i also don't get because when i add a DataModule from the New menu it gives me the properties and events of a TForm, i think, and none of the properties and events of a TDataModule as defined in Forms.pas.  actually, when i first add the module, the inspector does show the right properties and event for TDataModule, but as soon as i click on the visual DataModule itself, it seems to change to a form of the type TNonFormDesignerForm.  and non of the proper TDataModule properties and events are available in the inspector.  so what is up with that?

so how do i use the true TDataModule and descend from it in my web module design?

lucas
Title: TDataModule
Post by: Lightning on January 28, 2005, 08:11:21 pm
I think you will get more answers on the list or IRC.
Title: TDataModule
Post by: slukacs on January 29, 2005, 07:08:18 pm
by IRC do you mean a newsgroup?  a real one.  what newsgroups exist for FPC and lazarus.

lucas
Title: TDataModule
Post by: Lightning on January 30, 2005, 09:22:53 am
By IRC i mean IRC(Interned/Intranet Relay Chat), use an IRC client like mIRC, X-Chat, GAIM, ...
The channels are #lazarus-ide and #fpc on  irc.freenode.org.
For the mailing list see:
http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=maill
TinyPortal © 2005-2018