AdvStringGrid and counting checkbox

Hi

In a AdvStringGrid, a column is filled with checkbox with the procedure "AddCheckBox".

My question is :
Is there a function that calculates the number of checked and unchecked cells in a specific column?

or I have to construct this function myshelf ?

Regards

There is at this moment not a built-in function to do just counting of checked & unchecked checkboxes. If you are interested in this count, you would need to loop over all rows and get the checkbox state per row and count these.

Hi
I thought so but I preferred to ask the question

Thanks
olivier

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.