How to put the listbox columntype into a popupmenu

How to put the listbox columntype into a popupmenu ?
as we know … Listbox1.ColumnType(0)=Listbox.TypeCheckbox …but I want the type into popupmenu …what should I do. Thank you very much .

I am a chinese , my english is no good .

I do not see native PopupMenu here.

Maybe someone have a solution to implement that in a custom ListBox ?

[quote=251212:@Emile Schwarz]I do not see native PopupMenu here.

Maybe someone have a solution to implement that in a custom ListBox ?[/quote]

How to custom listbox ,? Can you give me some ideas or examples?

Listbox doesn’t have a native PopUpMenu Celltype (I wish it did) but you can emulate one by dynamically constructing a contextual menu of the celltypes. You can then use the selection to affect the column in question. Probably not the most efficient way to do it but it can work. I use the method to emulate a combobox celltype (which I also wish the listbox had a celltype for).