Create a Popmenu in listbox

Hello to all,

my name is Diego and I am a new user of the forum.
I would like to ask how to create a popmenu for each line of a listbox. I have already looked and tried to copy the file into the xojo examples, but without success.
The listbox is populated by the result of a select of a query and all rows are created. In column 4 I would then like to create a popmenu, when the user clicks the cell part a function that populates the values ??of the popmenu with the data relating to that row. But the result I have is empty column 4 and without popmenu. Can you explain to me what is wrong? missing elements in the listbox to add?

Thanks for your help