Board index » delphi » Two Forms Share One Component

Two Forms Share One Component

Hi,

        Can I have two forms share one component? If yes, how?

        Thanks!

Regards,
C. Chan

 

Re:Two Forms Share One Component


Most non-visual components can be put in a datamodule and access from
there.

I have the ZipCode component that I downloaded, and I put it in the
datamodule and everything accesses it just fine, along with my TTable and
TDataSource components.

Give it a shot!
--
Matthew J. Brock
Computer Solutions:AZ
Tucson, AZ

95374...@cpccux0.cityu.edu.hk wrote in article
<5a27k4$...@ctylnk.cityu.edu.hk>...

Quote
> Hi,

>    Can I have two forms share one component? If yes, how?

>    Thanks!

> Regards,
> C. Chan

Other Threads