TMSFNCListBox and popup menu

Is there a trick to show the popup menu?


I dropped a TPopupmenu to the form, added some items, selected it in the PopupMenu dropdown in the object inspector, run the program and nothing happen when I right click the listbox, independent there are items in the listbox or not.

The listbox internally uses a treeview. We'll investigate if we can workaround the problem of assigning a popupmenu, but you can use the following workaround for now:


  TMSFNCListBox1.Controls[0].PopupMenu := PopupMenu1;