CheckListBox with 3 distinct states

I would like a checklist control which displays 3 distinct states. Yes, No, Unknown.

The box as a 'Tick' is obviously fine for the 'Yes' state. I would like the 'No' state to be displayed as an 'X' and
 'Unknown' would be clear.

I have tried using the style lbOwnerDrawFixed but can see no way in the OnDrawItem event of drawing the
'Tick Box' differently.

A coded solution for this would be good but I am quite willing to consider a commercial product if you know of one.
TonyDelphiHuntAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ziolkoCommented:
commercial control.. I recommend DeveloperExpress

ziolko.
0
ziolkoCommented:
..but you can do it also with bitmaps in first column of TListView

ziolko.
0
mikelittlewoodCommented:
You know you can already do this with the standard checklistbox.
Just turn on the property "AllowGrayed"
This then gives you "Checked", "Unchecked" and "Grayed" for unknown
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Martin BarredaLic. in Computer ScienceCommented:
Check http://www.tmssoftware.com/ for THTMLCheckList.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin BarredaLic. in Computer ScienceCommented:
But this can be done with AdvStringGrid from the same developers... and is a very very versatil component.
0
TonyDelphiHuntAuthor Commented:
Thank you all for your comments.

spk2000ar pointed me to EXACTLY the product I need.

The TRULY embarassing thing is we already have been using TMS for 3 years for one of their other excellent products and didn't realise we already had these things available in the same VCL..



0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.