Read/Write TRzCheckList (Raize) in c++Builder

In my application I included a CheckListbox.
How can I :
1. determine which checkboxes have been checked
2. change the checkstate at runtime
3. check which item is selected
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

gaohongConnect With a Mentor Commented:
Hi, Droos:

Basically, Avaulin is right, except maybe a typo

You should use:

bool GetChecked();
void SetChecked(bool);

to do what you want.

Hope this helps

Gaohong Xie
1. Use CheckListbox::GetCheck method
2. Use CheckListbox::SetCheck method
3. Write cycle
for( int i=0; i<YourCheckListBox.GetCount(); i++ )
// use CheckListbox::GetCheck method

Good luck.
droosAuthor Commented:
It doesn't deem to work. I get the message 'GetCheck' is not a member of 'Rzchklst::TRzCheckList'

Couldn't you provide me with a small example ?
droosAuthor Commented:
Adjusted points to 150
All Courses

From novice to tech pro — start learning today.