how many items in a Check Box object?

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

how many items in a Check Box object?

Post by tmalone »

I want to make a subroutine to look at the .state of the choices from a Check Box object. But I can't seem to find a way to get the total count of items in the check box?

bool pick;
int i;

for(i=0; i

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: how many items in a Check Box object?

Post by mkoller »

checkBox.itemCount

tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

Re: how many items in a Check Box object?

Post by tmalone »

While that would be logical, I can't seem to get that to come up when I type

checkBox. I see itemEnabled, no itemCount

It does not seem to be a property of checkBox.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: how many items in a Check Box object?

Post by mkoller »

It was introduced in August 2017 in 3.15. Any later version patch should have it.

tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

Re: how many items in a Check Box object?

Post by tmalone »

Not in 3.15 P003

Works great in 3.15 P010

5 posts • Page 1 of 1