TRzChecklist (from Raize-components) with objects

Hi

I use a TRzCheckList (Raize-components) and I can add items with objects like MyCheckList.AddObject(MyString, MyObject) but I can not find how to access the object later (there is no MyCheckList.Objects-property as ther is in TStringlist.

Thanks for your help

Peter
formiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveBayCommented:
You need to do something like this
  MyObject := TMyObject(MyCheckList.Items.Objects[index]);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
formiAuthor Commented:
That's not what I need to know. The problem is that this component (TRzCheckList) seems to have a method "AddObject" but no property "Objects" to access it. I sent an EMail to the developer of that component (raize.com) and so I try to close this thread.
Thank you anyway
Peter
0
formiAuthor Commented:
How can I close this question?
0
SteveBayCommented:
In Raize Comp many methods are exposed as a mater of convenience. MyCheckList.Add and MyCheckList.AddObject are the same as MyCheckList,Items.add and MyCheckList.Items.AddObject. I do not believe that Ray exposed MyCheckList.Items.Object in the same fashion.
0
formiAuthor Commented:
Sorry, you helped me! I really didn't check it first, but it's really the solution. Sorry and thanks, Peter
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.