I’m using Virtual TreeView V5.0.1 (06 Sep 2012) in Delphi XE2. Setting CheckBox := True on a header column property does not enables the checkbox, so here’s the question, how do I enable checkboxes on column headers?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer to this seemingly simple question brought a dozen of Google results that tried to hack the header drawing through
OwnerDrawand painting checkboxes manually.Where’s the solution I want to share is quite simple, enable following two items in IDE:
include
hoShowImagesintoVirtualTree.Header.Optionsset andtoCheckSupportintoVirtualTree.TreeOptions.MiscOptionsset.Then you can enable
Header.Column[0].CheckBoxproperty and see desired result.