[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 951
  • Last Modified:

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
0
formi
Asked:
formi
  • 3
  • 2
1 Solution
 
SteveBayCommented:
You need to do something like this
  MyObject := TMyObject(MyCheckList.Items.Objects[index]);
0
 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now