Virtuailstring tree draw something inside column

how do i draw an image inside a column ? as example inside coulmn 2 ?
madam marAsked:
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.

Shaun VermaakTechnical SpecialistCommented:
Are we missing an image/attachment?
madam marAuthor Commented:
image attachment for what have you ever worked with delphi ?
Geert GOracle dbaCommented:
column 2 ???

did you check the demo of the drawtree ?

in the init of the node
you need to assign the image in the data object
and also draw it

see procedure TDrawTreeForm.VDT1InitNode in the demo on how to do that

init of the treeview is called when a node becomes visible.
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

madam marAuthor Commented:
Yes Column2 ! there can be column 1 or 0  or what ever .
how ever i have discovered how my self . it does not matter to use initNode event it can be drawing in after paint or even in on beforepaint ...

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
Geert GOracle dbaCommented:
lol, Mike's treeview doesn't work well with onPaint ...
you'll find out eventually
madam marAuthor Commented:
i havn't faced any problem using on beforecellpaint or even after paint .
madam marAuthor Commented:
its more reliable other comments are nothing but false suggestions .
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

From novice to tech pro — start learning today.