FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Checkbox with three states
Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM
Checkbox with three states
Posted: 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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Checkbox with three states
Posted: Tue Oct 23, 2012 12:45 PM

Yes, use BS_AUTO3STATE style for the checkbox.

EMG

Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM
Re: Checkbox with three states
Posted: Tue Oct 23, 2012 01: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

Continue the discussion