Checkbox with three states

Post Reply
User avatar
AlexSchaft
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Checkbox with three states

Post 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
User avatar
Enrico Maria Giordano
Posts: 8735
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Checkbox with three states

Post by Enrico Maria Giordano »

Yes, use BS_AUTO3STATE style for the checkbox.

EMG
User avatar
AlexSchaft
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: Checkbox with three states

Post 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
Post Reply