| View previous topic :: View next topic |
| Author |
Message |
Adam Flis Guest
|
Posted: Fri Aug 15, 2003 12:28 pm Post subject: Custom TDataModule |
|
|
Hi.
I wont to write some custom TDataModule.
type TMyDataModule = class(TDataModule)...
When I change TDataModule of some unit that was created form File / New menu
in delphi to TMyDataModule the straneg behaviour starts. The background
color is gray and it apears as TForm.
When I create this module in runtime the error "Propery color does not
exists" occures.
What shoul I do to make this work?
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Fri Aug 15, 2003 2:16 pm Post subject: Re: Custom TDataModule |
|
|
"Adam Flis" <adam (AT) adamsoft (DOT) si> wrote in message
[email]3f3cd243 (AT) newsgroups (DOT) borland.com[/email]...
| Quote: | What shoul I do to make this work?
|
You need to use RegisterCustomModule in order to register TMyDataModule as a
datamodule with the IDE.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
| Back to top |
|
 |
Adam Flis Guest
|
Posted: Fri Aug 15, 2003 2:50 pm Post subject: Re: Custom TDataModule |
|
|
Thanks for answer!
But can you give more specific help with some example please!
I can not find any help in delphi help regarding this function.
Thanks in advance
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote
| Quote: | "Adam Flis" <adam (AT) adamsoft (DOT) si> wrote in message
[email]3f3cd243 (AT) newsgroups (DOT) borland.com[/email]...
What shoul I do to make this work?
You need to use RegisterCustomModule in order to register TMyDataModule as
a
datamodule with the IDE.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Fri Aug 15, 2003 2:56 pm Post subject: Re: Custom TDataModule |
|
|
"Adam Flis" <adam (AT) adamsoft (DOT) si> wrote in message
[email]3f3cf38f (AT) newsgroups (DOT) borland.com[/email]...
| Quote: | I can not find any help in delphi help regarding this function.
|
Search the archives at http://www.tamaracka.com/.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
| Back to top |
|
 |
|