Yes.
To be placed on a datamodule the control must be a descendant of TComponent
BUT not a descendent of TControl (which rules out TGraphicControls,
TWinControls etc). As you thought, the reason is that TDataModule isn't
designed to provide window handles (being invisible at run time etc).
David.
DB Solutions.
----- Original Message -----
From: "Tony Sinclair" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 9:04 AM
Subject: [DUG]: Component Question
> Hi all,
>
> what makes some component's able to be placed on a DataModule eg
> TServerSocket and others like TWebBrowser can't. Is it the fact that they
> inherit from a Windowed control and TDataModule can't provide a windowed
> handle?
>
> Tony Sinclair
> Holliday Group Limited
> Christchurch
> New Zealand
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"