> Dear Aaron,
> 
> Please suggest me if I am wrong.
> 
> Singleton is not suitable to me. I got several const objects of same class.
> 
> Best Regards
> leigh

The original message was not clear as to your business needs but I hope that
enough material has been presented for you to derive a suitable solution.

You can remove the singleton part of the model and still allow the read-only
property... You will still need to create the object at runtime... There is no
const syntax for creating instances of a TObject descendant....

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to