listview PopupMenu property
Return to Introduction  Previous page  Next page
Applies to
acListView and acDBListView components as subproperty of HeaderMenu structure.  

property PopupMenu: TPopupMenu;  

The PopupMenu property points to the custom popup menu, which will be used when user clicks the right mouse button. To point the menu items which will sort the columns when user clicks them — use AscendingItem and DescendingItem properties.  
tip By default, the acListView already has the built-in popup menu with two menu items, "Sort Ascending" and "Sort Descending". Use the custom popup menu only if you would like to add additional features to the header menu or wish to translate the text for menu items to another language.  

See also
AscendingItem and DescendingItem properties.