How do I link a popup menu to a ListView?

I have a ListView object in an application. It is populated with filenames. I have a popup menu with simple file options: Copy / Delete / Move / Open / Rename.
My question is: how can I create the link to make this popup Menu appear when the user righ-clicks any 'caption' in the ListView?
After long searches, I have only found a function that displays the Windows Explorer popup menu, that is, the menu that windows shows in the Explorer, but that did not help me at all.
Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

> how can I create the link to make this popup Menu appear when the user righ-clicks any 'caption' in the ListView?

What do you mean? The moment you assign the PopupMenu for the TListView at the Object Inspector, by selecting your TPopupMenu, the ListView populates it, every time the user right clicks!!!

You need to elaborate a bit more.

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
JJSANESAuthor Commented:
I very sorry. Problem is (was) I was using a 3rd party component ListView, with no PopUpMenu property. Since it's the first time I am using this component, I never noticed the flaw. Thanks to you, problem solved!
JJSANESAuthor Commented:
Sometimes the best answer may be a question full of amazement like yours in this case. Ironic, isn't it? When I read your post, I realised there HAD to be a popup menu property somewhere in the Object Inspector. To no avail. I dropped a Delphi built-in ListView component into my application, and there it was! Six days wasted searching on the Internet for what I had in front of me. Ignorance is a big obstacle. Thank you for your time and interest, JimyX!!
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.