Checkbox with three states

Checkbox with three states

Postby AlexSchaft » Tue Oct 23, 2012 12:23 pm

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
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: Checkbox with three states

Postby Enrico Maria Giordano » Tue Oct 23, 2012 12:45 pm

Yes, use BS_AUTO3STATE style for the checkbox.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Checkbox with three states

Postby AlexSchaft » Tue Oct 23, 2012 1:20 pm

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
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests