Page 1 of 1

Checkbox with three states

Posted: Tue Oct 23, 2012 12:23 pm
by AlexSchaft
Is there a way to get a checkbox with three states, On, Off, and as before? This is as used in windows explorer for read only checkbox in properties etc.

Thanks,
Alex

Re: Checkbox with three states

Posted: Tue Oct 23, 2012 12:45 pm
by Enrico Maria Giordano
Yes, use BS_AUTO3STATE style for the checkbox.

EMG

Re: Checkbox with three states

Posted: Tue Oct 23, 2012 1:20 pm
by AlexSchaft
Hi,

Thank you, I actually found the sample as well. Had to modify the refresh method in checkbox.prg though, as most of that class is not aware of that style.

Alex