I found the code on the LR , to do row dragging between two listboxes.
Dim nRows As Integer
Dim additionalItems As Boolean
For i As Integer = 0 To Me.RowCount - 1
If Me.Selected(i) Then
If Not additionalItems Then
additionalItems = True
drag.AddItem(0, 0, 0, 0)
drag.Text = Me.List(i)
this is works nicely when the listbox is single-column.
Var ColumnsOnThisRow() As String
for j as Integer=0 to me.ColumnCount-1
//Now, ColumnsOnThisRow contains all the columns you need.
drag.Text=String.FromArray(ColumnsOnThisRow,Encodings.UTF8.Chr(9)) //Tab-separated values
When I press the tab and change celltextat into cellvalueat is working now.
but it wont stay on proper column.
the text from source listbox both text from column 0 and 1, placed on column 0 separated by tab.