JJSANES
asked on
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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!!
ASKER