> 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
- [DUG]: Advanced Delphi course Antony Gardiner
- RE: [DUG]: Advanced Delphi course Jason Coley
- [DUG]: Declare const object leigh
- Re: [DUG]: Declare const object Aaron Scott-Boddendijk
- Re: [DUG]: Declare const object leigh
- Re: [DUG]: Declare const obj... Aaron Scott-Boddendijk
- Re: [DUG]: Declare const... leigh
- RE: [DUG]: Declare c... Dennis Chuah
- RE: [DUG]: Declare c... Nic Wise
- Re: [DUG]: Declare c... Aaron Scott-Boddendijk
- Re: [DUG]: Declare const obj... Aaron Scott-Boddendijk
- RE: [DUG]: Declare const obj... Cory Shanks
- Re: [DUG]: Advanced Delphi course patrick . dunford
- RE: [DUG]: Advanced Delphi course Cory Shanks
- RE: [DUG]: Advanced Delphi course Tony Sinclair
- RE: [DUG]: Advanced Delphi course Antony Gardiner
- Re: [DUG]: Advanced Delphi course Eamon Reyn
- RE: [DUG]: Advanced Delphi course Nahum Wild
- RE: [DUG]: Advanced Delphi course Blackie, Nikolai