- Matt Kleweno
- PowerBuilder
- Friday, 10 November 2023 07:25 PM UTC
I am trying to add a right mouse button menu to a ListView to perform an item delete function and perhaps other item related functions.
The ListView is using the m_view menu object, but I can only get the RMB menu to appear when right clicking on the area to the right of the items on the list view. When clicking on this area within the ListView, the item selection is removed, and SeletectItem() returns -1. When I right click on the items in the ListView, no menu appears. As such, m_view appears to apply only the the ListView as a whole.
Is there an RMB menu that relates to the items within the ListView, and if so, how can I activate it?
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.