Hi, under Windows and Mac (linux not tested) when mylistbox.selectiontype=Listbox.SelectionMultiple current row selection will be lost when right clicking (or cmd clicking):
start an empty project add a listbox and populate it with a couple of items set selectiontype=Listbox.SelectionMultiple add some items to the contextual menu run the app select some rows right click (or cmd click) previous selection is lost and only one row is selected. Is this a bug or am I doing something wrong? Instead of constructcontextualmenu I've been using a workaround suggested by Karen in an older post (calling menuitem.popup in mousedown) but there is a bug under Windows that force me to use the constructcontextualmenu. Now some code: -- mylistbox.constructcontextualmenu: dim m as MenuItem m=New MenuItem m.text="menuitem test" base.append m return true -- mylistbox.open: dim i as integer for i=0 to 100 me.AddRow "test" next me.SelectionType=Listbox.SelectionMultiple Thanks, Tomas _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>